home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / MacTechNotes / MacTN files by name < prev    next >
Encoding:
Text File  |  1991-02-11  |  158.3 KB  |  3,185 lines  |  [TEXT/QED1]

  1.  Name  =  0 About Mac TNs 2.92.cpt
  2.  Path =  AMUG CD:Files:MacTechNotes:0 About Mac TNs 2.92.cpt
  3.  Size: 16K         Date: 2/15/91         Version: 
  4.  Description:
  5.  0 About Mac TNs 2.92 - contains an index to the 2-92 Tech notes and various
  6. updates.
  7.  
  8.  Name  =  Fonts (New Format).dd
  9.  Path =  AMUG CD:Files:MacTechNotes:Fonts (New Format).dd
  10.  Size: 32K         Date: 2/15/91         Version: 
  11.  Description:
  12.  Fonts (New Format).dd contains new formated fonts for displaying Tech Notes
  13. in this section.
  14.  
  15.  Name  =  Fonts (Old Format).dd
  16.  Path =  AMUG CD:Files:MacTechNotes:Fonts (Old Format).dd
  17.  Size: 26K         Date: 2/15/91         Version: 
  18.  Description:
  19.  Fonts (Old Format).dd contains old style formated fonts for displaying Tech
  20. Notes in this section.
  21.  
  22.  Name  =  Human Interface Notes.dd
  23.  Path =  AMUG CD:Files:MacTechNotes:Human Interface Notes.dd
  24.  Size: 28K         Date: 2/15/91         Version: 
  25.  Description:
  26.  Human Interface Notes.dd are the Human Interface Tech Notes from Apple 
  27. Computer.
  28.  
  29.  Name  =  Sound Manager chapter (IM).dd
  30.  Path =  AMUG CD:Files:MacTechNotes:Sound Manager chapter (IM).dd
  31.  Size: 80K         Date: 2/15/91         Version: 
  32.  Description:
  33.  Sound Manager chapter (IM).dd contains specialized information on the 
  34. Macintosh Sound Manager.
  35.  
  36.  Name  =  TN.001.System Resources
  37.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.001.System Resources
  38.  Size:  3K         Date: 2/15/91         Version: 
  39.  Description:
  40.  This note formerly described a strategy for dealing with system resources 
  41. from desk accessories. We no longer recommend calling ReleaseResource or 
  42. DetachResource for a system resource. When you are done with a system 
  43. resource, leave it alone; do not try to dispose or release it.
  44.  
  45.  Name  =  TN.002.Compatibility
  46.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.002.Compatibility
  47.  Size: 10K         Date: 2/15/91         Version: 
  48.  Description:
  49.  TN.002.Compatibility - Apple has many enhancements planned for the 
  50. Macintosh family of computers. To help ensure your software’s compatibility
  51. with these enhancements, check each item in this note to be sure that 
  52. you’re following the recommendations. If your software is written in a 
  53. high-level language like Pascal or C and if you adhere to the guidelines 
  54. listed in Inside Macintosh, many of the questions in this note won’t 
  55. concern you. If you develop in assembly language, you should read each 
  56. question carefully.
  57.  
  58.  Name  =  TN.003.Command-Shift Keys
  59.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.003.Command-Shift Keys
  60.  Size:  4K         Date: 2/15/91         Version: 
  61.  Description:
  62.  TN.003.Command-Shift Keys - In the standard system, there are two 
  63. Command-Shift-number key combinations that are automatically captured and 
  64. processed by GetNextEvent. The combinations are: Command-Shift-1 Eject 
  65. internal disk Command-Shift-2 Eject external disk. Numbers from 3 to 9 are 
  66. also captured by GetNextEvent, but are processed by calling ‘FKEY’ 
  67. resources. You can implement your own actions for Command-Shift-number 
  68. combinations for numbers 5 to 9 by defining your own ‘FKEY’ resource.
  69.  
  70.  Name  =  TN.004.GetNewDialog
  71.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.004.GetNewDialog
  72.  Size:  4K         Date: 2/15/91         Version: 
  73.  Description:
  74.  TN.004.GetNewDialog - When calling GetNewDialog to retrieve a dialog 
  75. template from a previously opened resource file, how are error conditions 
  76. indicated to the caller? Unfortunately, they aren’t. The Dialog Manager 
  77. calls GetResource and assumes the returned value is good. Since the Dialog 
  78. Manager doesn’t check, you have two choices. Your first choice is to call 
  79. GetResource for the dialog template, item list, and any resources needed by
  80. items in the item list yourself. But what do you do when you find the 
  81. resources aren’t there? 
  82.  
  83.  Name  =  TN.005.Dialogs from DAs
  84.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.005.Dialogs from DAs
  85.  Size:  4K         Date: 2/15/91         Version: 
  86.  Description:
  87.  TN.005.Dialogs from DAs - When a desk accessory creates a window (including
  88. a modeless dialog window) it must set the windowKind to its refnum—a 
  89. negative number. When the application calls GetNextEvent, the Event Manager
  90. calls SystemEvent, which checks to see if the event belongs to a desk 
  91. accessory. SystemEvent checks the windowKind of the frontmost window, and 
  92. uses the (negative) number for the refnum to make a control call, giving 
  93. the desk accessory a shot at the event. Then SystemEvent returns TRUE, and 
  94. GetNextEvent returns FALSE.
  95.  
  96.  Name  =  TN.006.Owned Resources
  97.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.006.Owned Resources
  98.  Size:  4K         Date: 2/15/91         Version: 
  99.  Description:
  100.  TN.006.Owned Resources - To allow the Font/DA Mover to renumber desk 
  101. accessories as needed when moving them between system files, desk 
  102. accessories should use the “owned resource” protocol described in the 
  103. Resource Manager chapter of Inside Macintosh Volume I.
  104.  
  105.  Name  =  TN.007.Debugging Tips
  106.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.007.Debugging Tips
  107.  Size:  6K         Date: 2/15/91         Version: 
  108.  Description:
  109.  TN.007.Debugging Tips - This presents a few tips which may make your 
  110. debugging easier. Setting memory location 0 to something odd Dereferencing 
  111. nil handles can cause real problems for an application. If location 0 (nil)
  112. is something even, the dereference will not cause an address error, and the
  113. application can run on for quite a while, making tracing back to the 
  114. problem quite difficult. If location 0 contains something odd, such as 
  115. $50FFC001, an address error will be generated immediately when a nil handle
  116. is dereferenced. 
  117.  
  118.  Name  =  TN.008.ABPasIntf Bug
  119.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.008.ABPasIntf Bug
  120.  Size:  3K         Date: 2/15/91         Version: 
  121.  Description:
  122.  TN.008.ABPasIntf Bug - Previous versions of this note described a bug in 
  123. the AppleTalk Pascal Interfaces. This bug was fixed in MPW 1.0 and newer.
  124.  
  125.  Name  =  TN.009.Internets
  126.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.009.Internets
  127.  Size:  6K         Date: 2/15/91         Version: 
  128.  Description:
  129.  TN.009.Internets - Individual AppleTalk networks can be connected together 
  130. as internets. It’s important that your application work across internets; 
  131. this note contains information on the differences between life on a single 
  132. AppleTalk, and life on an internet. You can read about internets (AppleTalk
  133. networks connected by one or more bridges) in Inside AppleTalk. What do you
  134. need to do about them?
  135.  
  136.  Name  =  TN.010.Pinouts
  137.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.010.Pinouts
  138.  Size: 11K         Date: 2/15/91         Version: 
  139.  Description:
  140.  TN.010.Pinouts - This note gives pinouts for Macintosh ports, cables, and 
  141. other products. Inside are pinout descriptions for the Macintosh ports, 
  142. cables, and various other products. Please refer to the Hardware chapter of
  143. Inside Macintosh and the Macintosh Hardware Reference Manual for more 
  144. information, especially about power limits. Note that unconnected pins are 
  145. omitted.
  146.  
  147.  Name  =  TN.011.Memory-Based MW Format
  148.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.011.Memory-Based MW Format
  149.  Size:  3K         Date: 2/15/91         Version: 
  150.  Description:
  151.  TN.011.Memory-Based MW Format - This Technical Note formerly described the 
  152. format of files created by MacWrite® 2.2. Changes since March 1988:  
  153. Updated the Claris address.
  154.  
  155.  Name  =  TN.012.Disk-Based MW Format
  156.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.012.Disk-Based MW Format
  157.  Size:  3K         Date: 2/15/91         Version: 
  158.  Description:
  159.  TN.012.Disk-Based MW Format - This Technical Note formerly described the 
  160. format of files created by MacWrite®, which is now published by Claris.
  161. Changes since March 1988:  Updated the Claris address.
  162.  
  163.  Name  =  TN.013.MW Clipboard Format
  164.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.013.MW Clipboard Format
  165.  Size:  3K         Date: 2/15/91         Version: 
  166.  Description:
  167.  TN.013.MW Clipboard Format - This Technical Note formerly described the 
  168. clipboard format used by MacWrite®, which is now published by Claris.
  169. Changes since March 1988:  Updated the Claris address.
  170.  
  171.  Name  =  TN.014.INIT 31
  172.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.014.INIT 31
  173.  Size:  3K         Date: 2/15/91         Version: 
  174.  Description:
  175.  TN.014.INIT 31 - This note formerly described things that are now covered 
  176. in the System Resource File chapter of Inside Macintosh Volume IV and the 
  177. Start Manager chapter of Inside Macintosh Volume V. Please refer to Inside 
  178. Macintosh.
  179.  
  180.  Name  =  TN.015.Finder 4.1
  181.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.015.Finder 4.1
  182.  Size:  3K         Date: 2/15/91         Version: 
  183.  Description:
  184.  TN.015.Finder 4.1 - This note formerly described Finder 4.1, which is now 
  185. recommended only for use with 64K ROM machines. Information specific to 64K
  186. ROM machines has been deleted from Macintosh Technical Notes for reasons of
  187. clarity.
  188.  
  189.  Name  =  TN.016.MacWorks XL
  190.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.016.MacWorks XL
  191.  Size:  3K         Date: 2/15/91         Version: 
  192.  Description:
  193.  TN.016.MacWorks XL - Earlier versions of this note described MacWorks XL, 
  194. the system software that allowed you to use Macintosh applications on the 
  195. Macintosh XL. Information specific to Macintosh XL machines has been 
  196. deleted from Macintosh Technical Notes for reasons of clarity.
  197.  
  198.  Name  =  TN.017.Low-Level Print Driver
  199.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.017.Low-Level Print Driver
  200.  Size:  3K         Date: 2/15/91         Version: 
  201.  Description:
  202.  TN.017.Low-Level Print Driver - This technical note has been replaced by 
  203. information in Inside Macintosh Volume V. Please refer to the Print Manager
  204. chapter of Inside Macintosh Volume V for information on low-level print 
  205. driver calls.
  206.  
  207.  Name  =  TN.018.TextEdit Conversion
  208.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.018.TextEdit Conversion
  209.  Size:  4K         Date: 2/15/91         Version: 
  210.  Description:
  211.  TN.018.TextEdit Conversion - Text sometimes must be converted between a 
  212. Pascal string and “pure” text in a handle. This note illustrates a way to 
  213. do this using MPW Pascal. Text contained in TextEdit records sometimes must
  214. be passed to routines which expect a Pascal string of type Str255 (a length
  215. byte followed by up to 255 characters). 
  216.  
  217.  Name  =  TN.019.Clickless Sound
  218.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.019.Clickless Sound
  219.  Size:  4K         Date: 2/15/91         Version: 
  220.  Description:
  221.  TN.019.Clickless Sound - Apple currently discourages use of the Sound 
  222. Driver due to compatibility issues.  The hardware support for sound 
  223. designed into the early Macintosh architecture was minimal.  (Many things 
  224. have changed since 1983–1984.)  The new Macintosh computers contain a 
  225. custom chip to provide better support for sound, namely the Apple Sound 
  226. Chip (ASC).  The ASC is present in the complete Macintosh II family as well
  227. as the Macintosh SE/30 and later machines. 
  228.  
  229.  Name  =  TN.020.Server
  230.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.020.Server
  231.  Size: 10K         Date: 2/15/91         Version: 
  232.  Description:
  233.  TN.020.Server - Many applications could benefit from the ability to share 
  234. common data between several Macintoshes, without requiring a file server. 
  235. This technical note discusses one technique for managing this AppleTalk 
  236. communication.
  237.  
  238.  Name  =  TN.021.Picture Opcodes
  239.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.021.Picture Opcodes
  240.  Size: 13K         Date: 2/15/91         Version: 
  241.  Description:
  242.  TN.021.Picture Opcodes - This technical note describes the internal format 
  243. of the QuickDraw picture data structure. This revision corrects some errors
  244. in the opcode descriptions and provides some examples.
  245.  
  246.  Name  =  TN.022.TEScroll Bug
  247.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.022.TEScroll Bug
  248.  Size:  3K         Date: 2/15/91         Version: 
  249.  Description:
  250.  TN.022.TEScroll Bug - A bug in TextEdit causes the following problem: a 
  251. call to TEScroll with no horizontal or vertical displacement (that is, both
  252. dh and dv set to zero) results in disappearance of the insertion point. 
  253. Since such calls do nothing, they should be avoided.
  254.  
  255.  Name  =  TN.023.Font/DA Mover
  256.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.023.Font/DA Mover
  257.  Size:  5K         Date: 2/15/91         Version: 
  258.  Description:
  259.  TN.023.Font/DA Mover - This technical note describes how to make sure that 
  260. your desk accessory will work after being moved by Font/Desk Accessory 
  261. Mover.
  262.  
  263.  Name  =  TN.024.Available Volumes
  264.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.024.Available Volumes
  265.  Size:  5K         Date: 2/15/91         Version: 
  266.  Description:
  267.  TN.024.Available Volumes - Standard File lets the user select one file from
  268. any available volume; it is sometimes necessary for an application to find 
  269. which volumes are present. This technical note gives the proper method of 
  270. accomplishing this.
  271.  
  272.  Name  =  TN.025.A5 & Patching Traps
  273.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.025.A5 & Patching Traps
  274.  Size:  4K         Date: 2/15/91         Version: 
  275.  Description:
  276.  TN.025.A5 & Patching Traps - Future software may allow desk accessories to 
  277. have their own globals by changing register A5 when the accessory is 
  278. entered and exited. This can cause problems for applications that patch 
  279. traps without following certain rules.
  280.  
  281.  Name  =  TN.026.Text Widths
  282.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.026.Text Widths
  283.  Size:  5K         Date: 2/15/91         Version: 
  284.  Description:
  285.  TN.026.Text Widths - This technical note discusses the fact that the width 
  286. of a string is not always the same as the sum of the widths of all the 
  287. characters in the string, due to roundoff error.
  288.  
  289.  Name  =  TN.027.MacDraw’s PICT Format
  290.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.027.MacDraw’s PICT Format
  291.  Size:  4K         Date: 2/15/91         Version: 
  292.  Description:
  293.  TN.027.MacDraw’s PICT Format - This Technical Note formerly described the 
  294. PICT file format used by MacDraw® and the picture comments the MacDraw used
  295. to communicate with the LaserWriter driver. Changes since March 1988:  
  296. Updated the Claris address.
  297.  
  298.  Name  =  TN.028.Finders & Drives
  299.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.028.Finders & Drives
  300.  Size:  5K         Date: 2/15/91         Version: 
  301.  Description:
  302.  TN.028.Finders & Drives - This technical note describes the differences in 
  303. the way the 1.1g, 4.1, 5.0 and newer Finders communicate with foreign 
  304. (non-Sony) disk drives.
  305.  
  306.  Name  =  TN.029.Desktop File
  307.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.029.Desktop File
  308.  Size:  6K         Date: 2/15/91         Version: 
  309.  Description:
  310.  TN.029.Desktop File - This technical note describes the resources found in 
  311. the Desktop file. Note: Don’t base anything critical on the format of the 
  312. Desktop file. AppleShare already uses another scheme; AppleShare volumes 
  313. don’t have Desktop files. The format of this file can, and probably will, 
  314. change in the future.
  315.  
  316.  Name  =  TN.030.Font Height Tables
  317.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.030.Font Height Tables
  318.  Size:  4K         Date: 2/15/91         Version: 
  319.  Description:
  320.  TN.030.Font Height Tables - This technical note describes how the Font 
  321. Manager (except in 64K ROMs) calculates height tables for fonts and how you
  322. can force recalculation.
  323.  
  324.  Name  =  TN.032.Reserved Types
  325.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.032.Reserved Types
  326.  Size:  3K         Date: 2/15/91         Version: 
  327.  Description:
  328.  TN.032.Reserved Types - Your applications and desk accessories can create 
  329. their own resource types. To avoid using type names which have been or will
  330. be used in the system, Apple has reserved all resource type names which 
  331. consist entirely of spaces ($20), lower-case letters ($61 through $7A), and
  332. “international” characters (greater than $7F).
  333.  
  334.  Name  =  TN.033.IW II Paper Motion
  335.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.033.IW II Paper Motion
  336.  Size:  4K         Date: 2/15/91         Version: 
  337.  Description:
  338.  TN.033.IW II Paper Motion - The purpose of this technical note is to answer
  339. the many questions asked about why the paper moves the way it does on the 
  340. ImageWriter II.
  341.  
  342.  Name  =  TN.034.User Items in Dialogs
  343.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.034.User Items in Dialogs
  344.  Size: 10K         Date: 2/15/91         Version: 
  345.  Description:
  346.  TN.034.User Items in Dialogs - The Dialog Manager does not go into detail 
  347. about how to manage user items in dialogs; this Technical Note describes 
  348. the process. Changes since March 1, 1988:  Added MPW C 3.0 code, added a 
  349. _SetPort call to the Pascal example, and noted the necessity and meaning of
  350. enabled items.
  351.  
  352.  Name  =  TN.035.DrawPicture Problem
  353.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.035.DrawPicture Problem
  354.  Size:  3K         Date: 2/15/91         Version: 
  355.  Description:
  356.  TN.035.DrawPicture Problem - This note formerly described a problem with 
  357. DrawPicture that occurred only on 64K ROM machines. Information specific to
  358. 64K ROM machines has been deleted from Macintosh Technical Notes for 
  359. reasons of clarity.
  360.  
  361.  Name  =  TN.036.Drive Queue Elements
  362.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.036.Drive Queue Elements
  363.  Size:  8K         Date: 2/15/91         Version: 
  364.  Description:
  365.  TN.036.Drive Queue Elements - This note expands on Inside Macintosh’s 
  366. definition of the drive queue, which is given in the File Manager chapter.
  367.  
  368.  Name  =  TN.037.Logic Boards
  369.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.037.Logic Boards
  370.  Size:  3K         Date: 2/15/91         Version: 
  371.  Description:
  372.  TN.037.Logic Boards - Earlier versions of this note are obsoleted by 
  373. existence of SysEnvirons, which is documented in Technical Note #129.
  374.  
  375.  Name  =  TN.038.ROM Debugger
  376.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.038.ROM Debugger
  377.  Size:  5K         Date: 2/15/91         Version: 
  378.  Description:
  379.  TN.038.ROM Debugger - The debugger in ROM (not present on the Macintosh 
  380. 128, Macintosh 512, or Macintosh XL) recognizes the following commands: PC 
  381. [expr]   (program counter)Typing PC on a line by itself displays the 
  382. program counter. Typing PC 50000 sets the program counter to $50000.
  383. SM [address [number(s)]]   (set memory) Typing SM on a line by itself 
  384. displays the next 96 bytes of memory. Typing SM 50000 will display memory 
  385. starting at $50000. Typing SM 50000 4849 2054 6865 7265 2120 will set 
  386. memory starting at $50000 to $4849… Subsequently hitting Return will 
  387. increment the display a screen at a time.
  388.  
  389.  Name  =  TN.039.Segment Loader Patch
  390.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.039.Segment Loader Patch
  391.  Size:  3K         Date: 2/15/91         Version: 
  392.  Description:
  393.  TN.039.Segment Loader Patch - This note formerly described a patch to the 
  394. Segment Loader for 64K ROM machines. Information specific to 64K ROM 
  395. machines has been deleted from Macintosh Technical Notes for reasons of 
  396. clarity.
  397.  
  398.  Name  =  TN.040.Finder Flags
  399.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.040.Finder Flags
  400.  Size:  4K         Date: 2/15/91         Version: 
  401.  Description:
  402.  TN.040.Finder Flags - This revision corrects the meanings of bits 6 and 7, 
  403. which were interchanged in the older version of this technical note. 
  404. ResEdit uses these bits incorrectly in versions older than 1.2.
  405.  
  406.  Name  =  TN.041.Off-Screen Bitmaps
  407.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.041.Off-Screen Bitmaps
  408.  Size: 12K         Date: 2/15/91         Version: 
  409.  Description:
  410.  TN.041.Off-Screen Bitmaps - This Technical Note provides an example of 
  411. creating an off-screen bitmap, drawing to it, and then copying from it to 
  412. the screen. Changes since April 1990:  Clarified the section on window 
  413. updates with off-screen bitmaps to explicitly limit these updates to your 
  414. own windows.
  415.  
  416.  Name  =  TN.042.Pascal Routine Pointers
  417.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.042.Pascal Routine Pointers
  418.  Size:  4K         Date: 2/15/91         Version: 
  419.  Description:
  420.  TN.042.Pascal Routine Pointers - Routines passed by pointer are used in 
  421. many places in conjunction with Macintosh system routines. For example, 
  422. filter procedures for modal dialogs are passed by pointer, as are controls’
  423. action procedures (when calling TrackControl), and I/O completion routines.
  424.  
  425.  Name  =  TN.043.Calling LoadSeg
  426.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.043.Calling LoadSeg
  427.  Size:  3K         Date: 2/15/91         Version: 
  428.  Description:
  429.  TN.043.Calling LoadSeg - Earlier versions of this note described a way to 
  430. call the LoadSeg trap, which is used internally by the Segment Loader. We 
  431. no longer recommend calling LoadSeg directly.
  432.  
  433.  Name  =  TN.044.HFS Compatibility
  434.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.044.HFS Compatibility
  435.  Size:  6K         Date: 2/15/91         Version: 
  436.  Description:
  437.  TN.044.HFS Compatibility - This technical note tells you how to make sure 
  438. that your applications run under the Hierarchical File System (HFS).
  439.  
  440.  Name  =  TN.045.ROM
  441.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.045.ROM
  442.  Size:  3K         Date: 2/15/91         Version: 
  443.  Description:
  444.  TN.045.ROM - This note formerly listed the traps from Inside Macintosh 
  445. Volumes I-III. Better references are now available elsewhere.
  446.  
  447.  Name  =  TN.046.Separate Resource Files
  448.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.046.Separate Resource Files
  449.  Size:  4K         Date: 2/15/91         Version: 
  450.  Description:
  451.  TN.046.Separate Resource Files - During application development, you use a 
  452. resource compiler (RMaker or Rez) to convert a resource definition file 
  453. into an executable application. You rarely change anything but your CODE 
  454. resources during development, and the resource compiler spends a lot of 
  455. time compiling other resources which have not changed since they were 
  456. originally created.
  457.  
  458.  Name  =  TN.047.Standard File
  459.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.047.Standard File
  460.  Size: 24K         Date: 2/15/91         Version: 
  461.  Description:
  462.  TN.047.Standard File - This note contains an example program that 
  463. demonstrates how SFPGetFile can be customized using the dialog hook and 
  464. file filter functions.
  465.  
  466.  Name  =  TN.048.Bundles
  467.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.048.Bundles
  468.  Size:  8K         Date: 2/15/91         Version: 
  469.  Description:
  470.  TN.048.Bundles - This note describes what a bundle is and how to create 
  471. one. A bundle is a collection of resources. Bundles can be used for a 
  472. number of different purposes, and are currently used by the Finder ito tie 
  473. an icon to a file type, allowing your application or data file to have its 
  474. own icon.
  475.  
  476.  Name  =  TN.050.Calling SetResLoad
  477.  Path =  AMUG CD:Files:MacTechNotes:TN.001.050:TN.050.Calling SetResLoad
  478.  Size:  3K         Date: 2/15/91         Version: 
  479.  Description:
  480.  TN.050.Calling SetResLoad - Calling SetResLoad(FALSE) can be useful if you 
  481. need to get a handle to a resource, without causing the resource to be 
  482. loaded from disk if it isn’t already in memory. This technique is used in 
  483. Technical Note #1. SetResLoad changes the value of the low-memory global 
  484. ResLoad (at location $A5E).
  485.  
  486.  Name  =  TN.051.Debugging w/PurgeMem
  487.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.051.Debugging w/PurgeMem
  488.  Size:  4K         Date: 2/15/91         Version: 
  489.  Description:
  490.  TN.051.Debugging w/PurgeMem - If you are having problems finding bugs like 
  491. handles that aren’t locked down when they should be, or resources that 
  492. aren’t there when they’re supposed to be, there is a handy technique for 
  493. forcing these problems to the surface. 
  494.  
  495.  Name  =  TN.052._Launch from High-Level
  496.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.052._Launch from High-Level
  497.  Size:  3K         Date: 2/15/91         Version: 
  498.  Description:
  499.  TN.052._Launch from High-Level - This Technical Note formerly discussed 
  500. calling _Launch from a high-level language which allows inline assembly 
  501. code. Changes since March 1988:  Merged contents into Technical Note #126.
  502.  
  503.  Name  =  TN.053.MoreMasters Revisited
  504.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.053.MoreMasters Revisited
  505.  Size:  7K         Date: 2/15/91         Version: 
  506.  Description:
  507.  TN.053.MoreMasters Revisited - MoreMasters should be called from CODE 
  508. segment 1. The number of master pointers that a program needs can be 
  509. determined empirically. MoreMasters can be tricked into creating the exact 
  510. number of master pointers desired.
  511.  
  512.  Name  =  TN.054.Limit to Resource Size
  513.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.054.Limit to Resource Size
  514.  Size:  3K         Date: 2/15/91         Version: 
  515.  Description:
  516.  TN.054.Limit to Resource Size - This note formerly described a bug in 
  517. WriteResource on 64K ROM machines. Information specific to 64K ROM machines
  518. has been deleted from Macintosh Technical Notes for reasons of clarity.
  519.  
  520.  Name  =  TN.055.Drawing Icons
  521.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.055.Drawing Icons
  522.  Size: 11K         Date: 2/15/91         Version: 
  523.  Description:
  524.  TN.055.Drawing Icons - Using resources of type ICON allows drawing of icons
  525. in srcOr mode.  Using resources of type ICN# allows for more variety when 
  526. drawing icons.
  527.  
  528.  Name  =  TN.056.Break/CTS
  529.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.056.Break/CTS
  530.  Size:  4K         Date: 2/15/91         Version: 
  531.  Description:
  532.  TN.056.Break/CTS - This technical note documents the event record 
  533. information that gets passed when the serial driver posts an event for a 
  534. break/CTS status change.
  535.  
  536.  Name  =  TN.057.Macintosh Plus
  537.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.057.Macintosh Plus
  538.  Size:  3K         Date: 2/15/91         Version: 
  539.  Description:
  540.  TN.057.Macintosh Plus - This note was originally meant as interim Macintosh
  541. Plus documentation and has been replaced by Inside Macintosh Volume IV, 
  542. which is more complete and more accurate.
  543.  
  544.  Name  =  TN.058.IU Bug
  545.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.058.IU Bug
  546.  Size:  3K         Date: 2/15/91         Version: 
  547.  Description:
  548.  TN.058.IU Bug - This note formerly described a bug in System 2.0, which is 
  549. now recommended only for use with 64K ROM machines. Information specific to
  550. 64K ROM machines has been deleted from Macintosh Technical Notes for 
  551. reasons of clarity.
  552.  
  553.  Name  =  TN.059.Pictures & Clip Regions
  554.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.059.Pictures & Clip Regions
  555.  Size:  4K         Date: 2/15/91         Version: 
  556.  Description:
  557.  TN.059.Pictures & Clip Regions - This note describes a problem that affects
  558. creation of QuickDraw pictures. When a GrafPort is created, the fields in 
  559. the GrafPort are given default values; one of these is the clip region, 
  560. which is set to the rectangle (–32767, –32767, 32767, 32767). If you create
  561. a picture, then call DrawPicture with a destination rectangle that is not 
  562. the same size as the picFrame without ever changing the default clip 
  563. region, nothing will be drawn.
  564.  
  565.  Name  =  TN.060.Narrow GrafPorts
  566.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.060.Narrow GrafPorts
  567.  Size:  3K         Date: 2/15/91         Version: 
  568.  Description:
  569.  TN.060.Narrow GrafPorts - When you draw a character into a GrafPort, your 
  570. program will die with an address error if the width of the GrafPort is 
  571. smaller than the width of the character. If you check before drawing the 
  572. character to see if the GrafPort is wide enough, you can avoid this 
  573. unfortunate tragedy.
  574.  
  575.  Name  =  TN.061.GetItemStyle Bug
  576.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.061.GetItemStyle Bug
  577.  Size:  3K         Date: 2/15/91         Version: 
  578.  Description:
  579.  TN.061.GetItemStyle Bug - This note formerly described a bug (in 
  580. GetItemStyle) which occurs only on 64K ROM machines. Information specific 
  581. to 64K ROM machines has been deleted from Macintosh Technical Notes for 
  582. reasons of clarity.
  583.  
  584.  Name  =  TN.062.Resource Header
  585.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.062.Resource Header
  586.  Size:  3K         Date: 2/15/91         Version: 
  587.  Description:
  588.  TN.062.Resource Header - The section of the Resource Manager chapter of 
  589. Inside Macintosh which describes the internal format of a resource file 
  590. shows an area of the resource header labeled “available for application 
  591. data.” You should not use this area—it is used by the Resource Manager.
  592.  
  593.  Name  =  TN.063.WriteResource Patch
  594.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.063.WriteResource Patch
  595.  Size:  3K         Date: 2/15/91         Version: 
  596.  Description:
  597.  TN.063.WriteResource Patch - This note formerly contained a patch to fix a 
  598. bug in WriteResource on 64K ROM machines. Information specific to 64K ROM 
  599. machines has been deleted from Macintosh Technical Notes for reasons of 
  600. clarity.
  601.  
  602.  Name  =  TN.064.IZANotify
  603.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.064.IZANotify
  604.  Size:  3K         Date: 2/15/91         Version: 
  605.  Description:
  606.  TN.064.IZANotify - Previous versions of this technical note recommended use
  607. of a low memory hook called IAZNotify. We no longer recommend use of 
  608. IAZNotify, since the IAZNotify hook is never called under MultiFinder.
  609.  
  610.  Name  =  TN.065.Mac Plus Pinouts
  611.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.065.Mac Plus Pinouts
  612.  Size:  8K         Date: 2/15/91         Version: 
  613.  Description:
  614.  TN.065.Mac Plus Pinouts - This note gives pinout descriptions for some of 
  615. the Macintosh Plus ports and Macintosh Plus cables that are different than 
  616. the Macintosh 128K and 512K. 
  617.  
  618.  Name  =  TN.066.Which File System?
  619.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.066.Which File System?
  620.  Size:  6K         Date: 2/15/91         Version: 
  621.  Description:
  622.  TN.066.Which File System? - This Technical Note discusses how to determine 
  623. which file system a particular volume is running. Changes since June 1990: 
  624. Removed text about IDs $0001-$0016 being AppleShare volumes; other file 
  625. systems use this range tooUnder certain circumstances it is necessary to 
  626. determine which file system is currently running on a particular volume.  
  627. For example, on a 64K ROM machine, your application (i.e., especially disk 
  628. recovery utilities or disk editors, etc.) may need to check for MFS versus 
  629. HFS.  Note that this is usually not necessary, because all ROMs, except the
  630. original 64K ROMs, include HFS. You may need to check if a particular 
  631. volume is in High Sierra, ISO 9660, or audio CD format.
  632.  
  633.  Name  =  TN.067.Blessed Folder
  634.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.067.Blessed Folder
  635.  Size:  4K         Date: 2/15/91         Version: 
  636.  Description:
  637.  TN.067.Blessed Folder - This technical note describes how to determine 
  638. which folder on an HFS volume is the blessed folder, that is, the folder 
  639. that contains both the System file and the Finder.
  640.  
  641.  Name  =  TN.068.Search.V
  642.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.068.Search.V
  643.  Size: 14K         Date: 2/15/91         Version: 
  644.  Description:
  645.  TN.068 This Technical Note discusses the PBCatSearch function and tells why
  646. it should be used. It also provides simple algorithms for searching both 
  647. MFS and HFS volumes and discusses the problems with indexed search 
  648. routines.
  649.  
  650.  Name  =  TN.069.PBGetCatInfo
  651.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.069.PBGetCatInfo
  652.  Size: 10K         Date: 2/15/91         Version: 
  653.  Description:
  654.  TN.069.PBGetCatInfo - This technical note describes how to set ioFDirIndex 
  655. for PBGetCatInfo. The File Manager chapter of Inside Macintosh volume IV is
  656. not very specific in describing how to use ioFDirIndex when calling 
  657. PBGetCatInfo. It correctly says that ioFDirIndex should be positive if you 
  658. are making indexed calls to PBGetCatInfo (analogous to making indexed calls
  659. to PBGetVInfo as described in Technical Note #24). 
  660.  
  661.  Name  =  TN.070.Single-Sided Disks
  662.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.070.Single-Sided Disks
  663.  Size:  5K         Date: 2/15/91         Version: 
  664.  Description:
  665.  TN.070.Single-Sided Disks - This document explains how to initialize a disk
  666. as either single- or double- sided. It only applies to 800K drives, of 
  667. course.
  668.  
  669.  Name  =  TN.071.Finding Drivers
  670.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.071.Finding Drivers
  671.  Size:  8K         Date: 2/15/91         Version: 
  672.  Description:
  673.  TN.071.Finding Drivers - This note will explain how code can be written to 
  674. determine the reference number of a previously installed driver when only 
  675. the name is known. Changes since 2/86: Since the driver can be purged and 
  676. the DCE still be allocated, the code now tests for dCtlDriver being NIL as 
  677. well.
  678.  
  679.  Name  =  TN.072.LW Optimizing Techniques
  680.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.072.LW Optimizing Techniques
  681.  Size: 12K         Date: 2/15/91         Version: 
  682.  Description:
  683.  TN.072.LW Optimizing Techniques - This Technical Note discusses techniques 
  684. for optimizing code for printing on the LaserWriter. Changes since March 
  685. 1988:  Updated the “Printable Paper Area” and “Memory Considerations” 
  686. sections as well as the printer IDs, moved the error messages from the end 
  687. of the Note to Technical Note #161, A Printing Loop That Cares…, and 
  688. removed the “Spool-A-Page/Print-A-Page” section because Technical Note 
  689. #125, Effect of Spool-A-Page/Print-A-Page on Shared Printers, already 
  690. thoroughly covers this topic.
  691.  
  692.  Name  =  TN.073.Color Printing
  693.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.073.Color Printing
  694.  Size:  9K         Date: 2/15/91         Version: 
  695.  Description:
  696.  TN.073.Color Printing - This discusses color printing in a Macintosh 
  697. application. Whereas the original eight-color model of QuickDraw was 
  698. sufficient for printing in color on the ImageWriter II, the introduction of
  699. Color QuickDraw has created the need for more sophisticated printing 
  700. methods.
  701.  
  702.  Name  =  TN.074.Data In Resource Fork
  703.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.074.Data In Resource Fork
  704.  Size:  3K         Date: 2/15/91         Version: 
  705.  Description:
  706.  TN.074.Data In Resource Fork - Don’t use the resource fork of a file for 
  707. non-resource data. Parts of the system (including the File Manager and the 
  708. Finder) assume that if this fork exists, it will contain valid Resource 
  709. Manager information. PBOpenRF was provided to allow copying of the resource
  710. fork of a file in its entirety, without Resource Manager interpretation. Do
  711. not use it to open “another data fork.”
  712.  
  713.  Name  =  TN.075.Multidisk Inst.
  714.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.075.Multidisk Inst.
  715.  Size:  8K         Date: 5/18/91         Version: 
  716.  Description:
  717.  #75 - This Technical Note documents Apple’s Multidisk Installer, and it is 
  718. in addition to separate Installer documentation which provides the details 
  719. of writing scripts.
  720.  
  721.  Name  =  TN.076.Mac Plus Update Script
  722.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.076.Mac Plus Update Script
  723.  Size:  3K         Date: 2/15/91         Version: 
  724.  Description:
  725.  TN.076.Mac Plus Update Script - Earlier versions of this note described the
  726. Macintosh Plus Update installation script, because it was the first script 
  727. created for the Installer. Since then, many versions of this script have 
  728. been created which no longer match what was described here. In addition, 
  729. many other scripts now exist.
  730.  
  731.  Name  =  TN.077.HFS Ruminations
  732.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.077.HFS Ruminations
  733.  Size: 14K         Date: 2/15/91         Version: 
  734.  Description:
  735.  TN.077.HFS Ruminations - This technical note contains some thoughts 
  736. concerning HFS. HFS numbers. A drive number is a small positive word (e.g. 
  737. 3). A VRefNum (as opposed to a WDRefNum) is a small negative word (e.g. 
  738. $FFFE). A WDRefNum is a large negative word (e.g. $8033). A DirID is a long
  739. word (e.g. 38). The root directory of an HFS volume always has a dirID of 
  740. 2.
  741.  
  742.  Name  =  TN.078.Resource Manager Tips
  743.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.078.Resource Manager Tips
  744.  Size:  5K         Date: 2/15/91         Version: 
  745.  Description:
  746.  TN.078.Resource Manager Tips - This note discusses some problems with the 
  747. Resource Manager and how to work around them. OpenResFile Bug. This section
  748. of the note formerly described a bug in OpenResFile on 64K ROM machines. 
  749. Information specific to 64K ROM machines has been deleted from Macintosh 
  750. Technical Notes for reasons of clarity.
  751.  
  752.  Name  =  TN.079._ZoomWindow
  753.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.079._ZoomWindow
  754.  Size: 11K         Date: 2/15/91         Version: 
  755.  Description:
  756.  TN.079._ZoomWindow - This Technical Note contains some hints about using 
  757. _ZoomWindow. Changes since March 1988:  Added a discussion of and sample 
  758. code to demonstrate recommended window zooming technique in multi-screen 
  759. environments. Basics _ZoomWindow allows a window to be toggled between two 
  760. states (where “state” means size and location):  a default state and a 
  761. user-selectable state.  The default state stays the same unless the 
  762. application changes it, while the user-selectable state is altered when the
  763. user changes the size or location of a zoomable window.  The code to handle
  764. zoomable windows in a main event loop would look something like the 
  765. examples which follow.
  766.  
  767.  Name  =  TN.080.SF Tips
  768.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.080.SF Tips
  769.  Size:  5K         Date: 2/15/91         Version: 
  770.  Description:
  771.  TN.080.SF Tips - SFSaveDisk and CurDirStore. Low-memory location $214 
  772. (SFSaveDisk—a word) contains –1* the vRefNum of the volume that SF is 
  773. displaying (MFS and HFS). It never contains –1* a WDRefNum. Low-memory 
  774. location $398 (CurDirStore—a long word) contains the dirID of the directory
  775. that SF is displaying (HFS only). This information can be particularly 
  776. useful at hook time, when the vRefNum field of the reply record has not yet
  777. been filled in. 
  778.  
  779.  Name  =  TN.081.Caching
  780.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.081.Caching
  781.  Size:  8K         Date: 2/15/91         Version: 
  782.  Description:
  783.  TN.081.Caching - This technical note describes disk and File System caching
  784. on the Macintosh, with particular emphasis on the high-level File System 
  785. cache. Of the three caches used for file I/O, this is the one which could 
  786. have the most impact on your program. Note: This big File System cache is 
  787. not available on 64K ROM machines.
  788.  
  789.  Name  =  TN.082.TextEdit
  790.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.082.TextEdit
  791.  Size:  5K         Date: 2/15/91         Version: 
  792.  Description:
  793.  TN.082.TextEdit - This technical note will point out some bugs (and 
  794. possible workarounds), and other items of interest for the TextEdit 
  795. programmer.
  796.  
  797.  Name  =  TN.083.System Heap Size
  798.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.083.System Heap Size
  799.  Size:  3K         Date: 2/15/91         Version: 
  800.  Description:
  801.  TN.083.System Heap Size - Earlier versions of this note pointed out that, 
  802. due to varying system heap sizes, the application heap does not always 
  803. start at $CB00. The start of the application heap has not been fixed for 
  804. some time now; programs that depend on it never work on the Macintosh SE or
  805. the Macintosh II.
  806.  
  807.  Name  =  TN.084.Edit File Format
  808.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.084.Edit File Format
  809.  Size:  4K         Date: 2/15/91         Version: 
  810.  Description:
  811.  TN.084.Edit File Format - This technical note describes the format of the 
  812. files created by Edit. It has been verified for versions 1.x and 2.0. Edit,
  813. a text editor licensed by Apple and included in the Consulair 68000 
  814. Development System, can read any text-only file whose file type is TEXT. 
  815. Files created by Edit have a creator ID of EDIT. Edit is a disk-based 
  816. editor so the file length is not limited by available memory. 
  817.  
  818.  Name  =  TN.085.GetNextEvent & Blinkin'
  819.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.085.GetNextEvent & Blinkin'
  820.  Size:  5K         Date: 2/15/91         Version: 
  821.  Description:
  822.  TN.085.GetNextEvent & Blinkin' - Wherein arcane mysteries are unraveled so 
  823. you can make the Alarm Clock (or a similar desk accessory) blink the Apple 
  824. menu at the appointed second. Also, why GetNextEvent is a good thing.
  825.  
  826.  Name  =  TN.086.MacPaint Document Format
  827.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.086.MacPaint Document Format
  828.  Size: 12K         Date: 2/15/91         Version: 
  829.  Description:
  830.  TN.086.MacPaint Document Format - This Technical Note describes the 
  831. internal format of a MacPaint® document, which is a standard used by many 
  832. other programs.  This description is the same as that found in the 
  833. “Macintosh Miscellaneous” section of early Inside Macintosh versions.
  834. Changes since October 1988:  Fixed bugs in the example code.
  835.  
  836.  Name  =  TN.087.Error in FCBPBRec
  837.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.087.Error in FCBPBRec
  838.  Size:  4K         Date: 2/15/91         Version: 
  839.  Description:
  840.  TN.087.Error in FCBPBRec - The declaration of a FCBPBRec is wrong in Inside
  841. Macintosh Volume IV  and early versions of MPW. This has been fixed in MPW 
  842. 1.0 and newer. An error was made in the declaration of an FCBPBRec 
  843. parameter block that is used in PBGetFCBInfo calls.  The field ioFCBIndx 
  844. was incorrectly listed as a LONGINT.  The following declaration (found in 
  845. Inside Macintosh):
  846.  
  847.  Name  =  TN.088.Signals
  848.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.088.Signals
  849.  Size: 14K         Date: 2/15/91         Version: 
  850.  Description:
  851.  TN.088.Signals - Signals are a form of intra-program interrupt which can 
  852. greatly aid clean, inexpensive error trapping in stack frame intensive 
  853. languages. A program may invoke the Signal procedure and immediately return
  854. to the last invocation of CatchSignal, including the complete stack frame 
  855. state at that point.
  856.  
  857.  Name  =  TN.089.DrawPicture Bug
  858.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.089.DrawPicture Bug
  859.  Size:  3K         Date: 2/15/91         Version: 
  860.  Description:
  861.  TN.089.DrawPicture Bug - Earlier versions of this note described a bug in 
  862. DrawPicture. This bug never occurred on 64K ROM machines, and has been 
  863. fixed in System 3.2 and newer. Use of Systems older than 3.2 on non-64K ROM
  864. machines is no longer recommended.
  865.  
  866.  Name  =  TN.090.SANE Incompatibilities
  867.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.090.SANE Incompatibilities
  868.  Size:  3K         Date: 2/15/91         Version: 
  869.  Description:
  870.  TN.090.SANE Incompatibilities - Earlier versions of this note described a 
  871. problem with SANE and System 2.0. Use of System 2.0 is only recommended for
  872. Macintosh 128 machines, which contain the 64K ROMs. Information specific to
  873. 64K ROM machines has been deleted from Macintosh Technical Notes for 
  874. reasons of clarity.
  875.  
  876.  Name  =  TN.091.LW PicComments
  877.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.091.LW PicComments
  878.  Size: 33K         Date: 2/15/91         Version: 
  879.  Description:
  880.  TN.091.LW PicComments - This technical note is a continuation of Technical 
  881. Note #72. This technical note discusses the picture comments that the 
  882. LaserWriter driver recognizes. This technical note has been modified to 
  883. include corrected descriptions of the SetLineWidth, PostScriptFile and 
  884. ResourcePS comments and to include some additional warnings.
  885.  
  886.  Name  =  TN.092.Appearance Of Text
  887.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.092.Appearance Of Text
  888.  Size:  7K         Date: 2/15/91         Version: 
  889.  Description:
  890.  TN.092.Appearance Of Text - This technical note describes why text doesn’t 
  891. always look the way you expect depending on the environment you are in. 
  892. There are a number of Macintosh text editing applications where layout is 
  893. critical.  Unfortunately, text on a newer machine sometimes prints 
  894. differently than text on a 64K ROM Macintosh. Let’s examine some 
  895. differences you should expect and why.
  896.  
  897.  Name  =  TN.093.MPW {$LOAD}
  898.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.093.MPW {$LOAD}
  899.  Size:  7K         Date: 2/15/91         Version: 
  900.  Description:
  901.  TN.093.MPW {$LOAD} - This technical note discusses the Pascal {$LOAD} 
  902. directive as well as how to unload the _DataInit and %_MethTables 
  903. segments.{$LOAD} MPW Pascal has a {$LOAD} directive that can dramatically 
  904. speed up compiles.
  905.  
  906.  Name  =  TN.094.Tags
  907.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.094.Tags
  908.  Size:  4K         Date: 2/15/91         Version: 
  909.  Description:
  910.  TN.094.Tags - Apple has decided to eliminate support for file-system tags 
  911. on its future products; this technical note explains this decision.
  912. Some of Apple’s disk products (and some third-party products) have the 
  913. ability to store 532 bytes per sector, instead of the normal 512. Twelve of
  914. the extra bytes are used to store redundant file system information, known 
  915. as “tags”, to be used by a scavenging utility to reconstruct damaged disks.
  916.  
  917.  Name  =  TN.095.Print Dialogs
  918.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.095.Print Dialogs
  919.  Size: 27K         Date: 2/15/91         Version: 
  920.  Description:
  921.  TN.095.Print Dialogs - This technical note discusses how to add your own 
  922. items to the Printing Manager’s dialogs. When the Printing Manager was 
  923. initially designed, great care was taken to make the interface to the 
  924. printer drivers as generic as possible in order to allow applications to 
  925. print without being device-specific.
  926.  
  927.  Name  =  TN.096.SCSI Bugs
  928.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.096.SCSI Bugs
  929.  Size: 14K         Date: 2/15/91         Version: 
  930.  Description:
  931.  TN.096.SCSI Bugs - There are a number of problems in the SCSI Manager; this
  932. note lists the ones we know about, along with an explanation of what we’re 
  933. doing about them. Changes made for the 2/88 release are made to more 
  934. accurately reflect the state of the SCSI Manager. System 4.1 and 4.2 are 
  935. very similar; one bug was fixed in System 4.2.
  936.  
  937.  Name  =  TN.097.PrSetError Problem
  938.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.097.PrSetError Problem
  939.  Size:  3K         Date: 2/15/91         Version: 
  940.  Description:
  941.  TN.097.PrSetError Problem - This note formerly described a problem in Lisa 
  942. Pascal glue for the PrSetError routine. The glue in MPW (and most, if not 
  943. all, third party compilers) does not have this problem.
  944.  
  945.  Name  =  TN.098.Short-Circuit Booleans
  946.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.098.Short-Circuit Booleans
  947.  Size:  3K         Date: 2/15/91         Version: 
  948.  Description:
  949.  TN.098.Short-Circuit Booleans - This note formerly described problems with 
  950. the Lisa Pascal compiler. These problems have been fixed in the MPW Pascal 
  951. compiler.
  952.  
  953.  Name  =  TN.099.SF Bug in System 3.2
  954.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.099.SF Bug in System 3.2
  955.  Size:  3K         Date: 2/15/91         Version: 
  956.  Description:
  957.  TN.099.SF Bug in System 3.2 - This note formerly described a bug in 
  958. Standard File in System 3.2. This bug has been fixed in more recent 
  959. Systems.
  960.  
  961.  Name  =  TN.100.Large Screen Displays
  962.  Path =  AMUG CD:Files:MacTechNotes:TN.051.100:TN.100.Large Screen Displays
  963.  Size:  4K         Date: 2/15/91         Version: 
  964.  Description:
  965.  TN.100.Large Screen Displays - A number of third-party developers have 
  966. announced large-screen display peripherals for Macintosh. One of them, 
  967. Radius Inc., has issued a set of guidelines for developers who wish to 
  968. remain compatible with their Radius FPD; unfortunately, one of their 
  969. recommendations can cause system crashes. This note suggests a more correct
  970. approach.
  971.  
  972.  Name  =  TN.101.CreateResFile & PMSP
  973.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.101.CreateResFile & PMSP
  974.  Size:  8K         Date: 2/15/91         Version: 
  975.  Description:
  976.  TN.101.CreateResFile & PMSP - CreateResFile checks to see if a resource 
  977. file with a given name exists, and if it does, returns a dupFNErr (–48) 
  978. error. Unfortunately, to do this check, CreateResFile uses a call that 
  979. follows the Poor Man’s Search Path (PMSP).
  980.  
  981.  Name  =  TN.102.HFS Elucidations
  982.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.102.HFS Elucidations
  983.  Size: 13K         Date: 2/15/91         Version: 
  984.  Description:
  985.  TN.102.HFS Elucidations - This technical note will describe a few problems 
  986. that can occur while using HFS. It will also describe ways to avoid these 
  987. problems. This technical note will discuss the following problems. 1) It is
  988. very important to be careful about how files are opened and closed. There 
  989. must be no more than one close for every open. 2) Don’t use Driver names, 
  990. like .Bout, .Print or .Sony, in place of file names or the file system will
  991. become confused. 3) Be aware of the ioFlVersNum byte in all file calls. A 
  992. number of pieces of the Macintosh system do not use, and may in fact 
  993. ignore, files created with non-zero ioFlVersNums.
  994.  
  995.  Name  =  TN.103.128K ROM/Asm
  996.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.103.128K ROM/Asm
  997.  Size:  5K         Date: 2/15/91         Version: 
  998.  Description:
  999.  TN.103.128K ROM/Asm - When calling MaxApplZone and MoveHHi from assembly 
  1000. language, be sure to get the correct code. MaxApplZone and MoveHHi were 
  1001. marked [Not in ROM] in Inside Macintosh, Volumes I-III . They are ROM calls
  1002. in the 128K ROM. Since they are not in the 64K ROM, if you want your 
  1003. program to work on 64K ROM routines it is necessary to call the routines by
  1004. a JSR to a glue (library) routine instead of using the actual trap macro.
  1005.  
  1006.  Name  =  TN.104.Globals from Asm
  1007.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.104.Globals from Asm
  1008.  Size:  7K         Date: 2/15/91         Version: 
  1009.  Description:
  1010.  TN.104.Globals from Asm - This technical note demonstrates how to access 
  1011. MPW Pascal and MPW C globals from the MPW Assembler. To allow access of MPW
  1012. Pascal globals from the MPW Assembler, you need to identify the variables 
  1013. that you wish to access as external.  To do this, use the {$Z+} compiler 
  1014. option.  Using the {$Z+} option can substantially increase the size of the 
  1015. object file due to the additional symbol information (no additional code is
  1016. generated and the symbol information is stripped by the linker). 
  1017.  
  1018.  Name  =  TN.105.Object Pascal
  1019.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.105.Object Pascal
  1020.  Size:  4K         Date: 2/15/91         Version: 
  1021.  Description:
  1022.  TN.105.Object Pascal - Object Pascal must have a CODE segment named 
  1023. %_MethTables in order to access object methods. In MacApp this is taken 
  1024. care of “behind the scenes” so you don’t have to worry about it . However, 
  1025. if you are doing a straight Object Pascal program, you must make sure that 
  1026. %_MethTables is around when you need it. If it’s unloaded when you call a 
  1027. method, your Macintosh will begin executing wild noncode and die a gruesome
  1028. and horrible death.
  1029.  
  1030.  Name  =  TN.106.VCBs and Drive #s
  1031.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.106.VCBs and Drive #s
  1032.  Size:  4K         Date: 2/15/91         Version: 
  1033.  Description:
  1034.  TN.106.VCBs and Drive #s - The top of page IV-178 in The File Manager 
  1035. chapter of Inside Macintosh in attempts to explain the behavior of two 
  1036. fields in a volume control block when the corresponding disk is offline or 
  1037. ejected. Due to the fact that a little bit is left unsaid, this paragraph 
  1038. is rather misleading. The two fields in question are vcbDrvNum and 
  1039. vcbDRefNum (referred to as ioVDrvInfo and ioVDRefNum in C and Pascal). 
  1040. PBHGetVInfo can be used to access these fields.
  1041.  
  1042.  Name  =  TN.107.Nulls in Filenames
  1043.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.107.Nulls in Filenames
  1044.  Size:  4K         Date: 2/15/91         Version: 
  1045.  Description:
  1046.  TN.107.Nulls in Filenames - Some applications (loosely speaking so as to 
  1047. include Desk Accessories, INITs, and what-have-you) generate or rename 
  1048. special files on the fly so that they are not explicitly named by the user 
  1049. via SFPutFile. Since the Macintosh file system is very liberal about 
  1050. filenames and only excludes colons from the list of acceptable characters, 
  1051. this can lead to some difficulties, both for the end user and for writers 
  1052. of other programs which may see these files.
  1053.  
  1054.  Name  =  TN.108.AddDrive DrvrInstall and
  1055.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.108.AddDrive DrvrInstall and
  1056.  Size:  6K         Date: 2/15/91         Version: 
  1057.  Description:
  1058.  TN.108.AddDrive DrvrInstall and - AddDrive, _DrvrInstall, and _DrvrRemove 
  1059. are used in the sample SCSI driver in the SCSI Development Package, which 
  1060. is available from APDA.  This Technical Note documents the parameters for 
  1061. these calls. Changes since March 1, 1988:  Updated the _DrvrInstall text to
  1062. reflect the use of register A0, which should contain a pointer to the 
  1063. driver when called.  Also added simple glue code for _DrvrInstall and 
  1064. _DrvrRemove since none is available in the MPW interfaces.
  1065.  
  1066.  Name  =  TN.109.Bug in MPW 1.0
  1067.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.109.Bug in MPW 1.0
  1068.  Size:  3K         Date: 2/15/91         Version: 
  1069.  Description:
  1070.  TN.109.Bug in MPW 1.0 - This note formerly described a problem in the 
  1071. language libraries for MPW 1.0. This bug is fixed in MPW 1.0.2, available 
  1072. from APDA.
  1073.  
  1074.  Name  =  TN.110.MPW Stand-Alone Code
  1075.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.110.MPW Stand-Alone Code
  1076.  Size:  4K         Date: 2/15/91         Version: 
  1077.  Description:
  1078.  TN.110.MPW Stand-Alone Code - This Technical Note formerly discussed using 
  1079. MPW Pascal and C to write stand-alone code, such as 'WDEF', 'LDEF', 'INIT',
  1080. and 'FKEY' resources. Changes since February 1990:  Merged the contents of 
  1081. this Note into Technical Note #256, Stand-Alone Code, ad nauseam.This Note 
  1082. formerly discussed using MPW Pascal and C to write stand-alone code.  This 
  1083. information has been expanded and is now contained in Technical Note #256, 
  1084. Stand-Alone Code, ad nauseam.
  1085.  
  1086.  Name  =  TN.111.MoveHHi/SetResPurge
  1087.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.111.MoveHHi/SetResPurge
  1088.  Size:  3K         Date: 2/15/91         Version: 
  1089.  Description:
  1090.  TN.111.MoveHHi/SetResPurge - SetResPurge(TRUE) is called to make the Memory
  1091. Manager call the Resource Manager before purging a block specified by a 
  1092. handle. If the handle is a handle to a resource, and its resChanged bit is 
  1093. set, the resource data will be written out (using WriteResource).
  1094.  
  1095.  Name  =  TN.112.FindDItem
  1096.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.112.FindDItem
  1097.  Size:  3K         Date: 2/15/91         Version: 
  1098.  Description:
  1099.  TN.112.FindDItem - FindDItem is a potentially useful call which returns the
  1100. number of a dialog item given a point in local coordinates and a dialog 
  1101. handle. It returns an item number of –1 if no item’s rectangle overlaps the
  1102. point. This is all well and good, except you don’t get back quite what you 
  1103. would expect.
  1104.  
  1105.  Name  =  TN.113.Boot Blocks
  1106.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.113.Boot Blocks
  1107.  Size:  4K         Date: 2/15/91         Version: 
  1108.  Description:
  1109.  TN.113.Boot Blocks - There are two undocumented features of the Boot 
  1110. Blocks. This note will describe how they currently work. Warning: The 
  1111. format and functionality of the Boot Blocks will change in the future; 
  1112. dependence on this information may cause your program to fail on future 
  1113. hardware or with future System software.
  1114.  
  1115.  Name  =  TN.114.AppleShare/Old Finder
  1116.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.114.AppleShare/Old Finder
  1117.  Size:  3K         Date: 2/15/91         Version: 
  1118.  Description:
  1119.  TN.114.AppleShare/Old Finder - A rumor has been spread that if you use a 
  1120. pre-AppleShare Finder on a workstation to access AppleShare volumes, you 
  1121. can bypass AppleShare’s “access privilege” mechanisms.
  1122.  
  1123.  Name  =  TN.115.Stationery
  1124.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.115.Stationery
  1125.  Size:  6K         Date: 2/15/91         Version: 
  1126.  Description:
  1127.  TN.115.Stationery - With the introduction of AppleShare (Apple’s file 
  1128. server) there are restrictions on self-modification of application resource
  1129. files and the placement of configuration files. This note describes one way
  1130. to get around the necessity for configuration files.
  1131.  
  1132.  Name  =  TN.116.SharingApps
  1133.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.116.SharingApps
  1134.  Size:  7K         Date: 2/15/91         Version: 
  1135.  Description:
  1136.  TN.116.SharingApps - Normally, applications on an AppleShare server volume 
  1137. cannot be executed by more than one user at a time. This technical note 
  1138. explains why, and tells how you can enable your application to be shared.
  1139.  
  1140.  Name  =  TN.117.Compatibility
  1141.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.117.Compatibility
  1142.  Size: 48K         Date: 2/15/91         Version: 
  1143.  Description:
  1144.  TN.117.Compatibility - While creating or revising any program for the 
  1145. Macintosh, you should be aware of the most common reasons why programs fail
  1146. on various versions of the Macintosh. This note will detail some common 
  1147. failure modes, why they occur, and how to avoid them.
  1148.  
  1149.  Name  =  TN.118.Printing Errors
  1150.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.118.Printing Errors
  1151.  Size:  3K         Date: 2/15/91         Version: 
  1152.  Description:
  1153.  TN.118.Printing Errors - This Technical Note formerly described how to 
  1154. check and properly handle errors that occur during printing with the 
  1155. Printing Manager. Changes since March 1988:  Merged contents into Technical
  1156. Note #161. This Note formerly described how to check and properly handle 
  1157. Printing Manager errors.  This information is now contained in Technical 
  1158. Note #161, A Printing Loop That Cares…, which also includes a table of 
  1159. Printing Manager error codes.
  1160.  
  1161.  Name  =  TN.119.Color QuickDraw?
  1162.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.119.Color QuickDraw?
  1163.  Size:  3K         Date: 2/15/91         Version: 
  1164.  Description:
  1165.  TN.119.Color QuickDraw? - This note formely described a way to determine if
  1166. Color QuickDraw is present on a particular machine. We now recommend that 
  1167. you call SysEnvirons to find out, as described in Technical Note #129.
  1168.  
  1169.  Name  =  TN.120_Principia Off-Scrn..
  1170.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.120_Principia Off-Scrn..
  1171.  Size: 56K         Date: 2/15/91         Version: 
  1172.  Description:
  1173.  TN.120.Off-Screen Pixel Map - Using Color QuickDraw to draw off-screen is a
  1174. common requirement of applications and other kinds of programs that run on 
  1175. the Macintosh. This Note discusses what Color QuickDraw needs in a graphics
  1176. environment and how to create one for off-screen drawing. A brief 
  1177. discussion of GWorlds, which are off-screen graphics environments that are 
  1178. set up by the system, is given in terms of deciding whether to use them or 
  1179. the do-it-yourself techniques described in this Note for setting up an 
  1180. off-screen graphics environment. 10-91.
  1181.  
  1182.  Name  =  TN.121.AppleTalk Interfaces
  1183.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.121.AppleTalk Interfaces
  1184.  Size:  4K         Date: 2/15/91         Version: 
  1185.  Description:
  1186.  TN.121.AppleTalk Interfaces - What you need to do in order to use 
  1187. high-level AppleTalk routines depends upon the interfaces you are using. 
  1188. Some differences are outlined below.
  1189.  
  1190.  Name  =  TN.122.Dev.-Ind. Printing
  1191.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.122.Dev.-Ind. Printing
  1192.  Size:  4K         Date: 2/15/91         Version: 
  1193.  Description:
  1194.  TN.122.Dev.-Ind. Printing - The Printing Manager was designed to give 
  1195. Macintosh applications a device- independent method of printing, but we 
  1196. have provided device-dependent information, such as the contents of the 
  1197. print record. Due to the large number of printer-type drivers becoming 
  1198. available (even for non-printer devices) device independence is more 
  1199. necessary than ever. What this means to you, as a developer, is that we 
  1200. will no longer be providing (or supporting) information regarding the 
  1201. internal structure of the print record. 
  1202.  
  1203.  Name  =  TN.123.LaserWriter ROM Bugs
  1204.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.123.LaserWriter ROM Bugs
  1205.  Size:  5K         Date: 2/15/91         Version: 
  1206.  Description:
  1207.  TN.123.LaserWriter ROM Bugs - These are LaserWriter bugs that your users 
  1208. may encounter when printing from any Macintosh application. These are for 
  1209. your information; you cannot code around them. The bugs described here 
  1210. occur in the 1.0 and 2.0 LaserWriter ROMs.
  1211.  
  1212.  Name  =  TN.124.Low-Level Printing
  1213.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.124.Low-Level Printing
  1214.  Size:  3K         Date: 2/15/91         Version: 
  1215.  Description:
  1216.  TN.124.Low-Level Printing - When you use the low-level printer driver to 
  1217. print, you don’t get the benefits of the error checking that is done when 
  1218. you use the high-level Printing Manager. So, if the user prints to an 
  1219. AppleTalk ImageWriter (including an AppleTalk ImageWriter LQ) that is busy 
  1220. printing another job, the driver doesn’t know whether the printer is busy, 
  1221. offline, or disconnected.  Because of this, PrError will return (and 
  1222. PrintErr will contain) abortErr.
  1223.  
  1224.  Name  =  TN.125.Spool/Print Shared
  1225.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.125.Spool/Print Shared
  1226.  Size:  4K         Date: 2/15/91         Version: 
  1227.  Description:
  1228.  TN.125.Spool/Print Shared - This technical note discusses drawbacks of 
  1229. using the spool-a-page/ print-a-page method of printing. The 
  1230. “spool-a-page/print-a-page” method of printing prints each page of a 
  1231. document as a separate job instead of calling PrPicFile to print the entire
  1232. picture file. Many applications adopted this method of printing to avoid 
  1233. running out of disk space while the ImageWriter driver was spooling the 
  1234. document to disk.
  1235.  
  1236.  Name  =  TN.126.Sub(Launching) H-L Lang
  1237.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.126.Sub(Launching) H-L Lang
  1238.  Size: 14K         Date: 2/15/91         Version: 
  1239.  Description:
  1240.  TN.126.Sub(Launching) H-L Lang - Note: Developer Technical Support takes 
  1241. the view that launching and sublaunching are features which are best 
  1242. avoided for compatibility (and other) reasons, but we want to make sure 
  1243. that when it is absolutely necessary to implement it, it is done in the 
  1244. safest possible way. This Technical Note discusses the “safest” method of 
  1245. calling _Launch from a high-level language that supports inline assembly 
  1246. language with the option of launching or sublaunching another application.
  1247.  
  1248.  Name  =  TN.127.TextEdit EOL
  1249.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.127.TextEdit EOL
  1250.  Size:  4K         Date: 2/15/91         Version: 
  1251.  Description:
  1252.  TN.127.TextEdit EOL - TESetSelect may be used to position the insertion 
  1253. point at the end of a line. There is an ambiguity, though; should the 
  1254. insertion point appear at the end of the preceding line or the start of the
  1255. following one? It is possible to determine what will happen, as you are 
  1256. about to see.
  1257.  
  1258.  Name  =  TN.128.PrGeneral
  1259.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.128.PrGeneral
  1260.  Size: 15K         Date: 2/15/91         Version: 
  1261.  Description:
  1262.  TN.128.PrGeneral - The Printing Manager architecture has been expanded to 
  1263. include a new procedure called PrGeneral. The features described here are 
  1264. advanced, special-purpose features, intended to solve specific problems for
  1265. those applications that need them. The calls to determine printer 
  1266. resolution introduce a good deal of complexity into the application’s code,
  1267. and should be used only when necessary.
  1268.  
  1269.  Name  =  TN.129_Gestalt & _SysEnviron
  1270.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.129_Gestalt & _SysEnviron
  1271.  Size:  7K         Date: 2/15/91         Version: 
  1272.  Description:
  1273.  Tech Note 129, _Gestalt & _SysEnvir Copyright(C)1990 Apple Computer. This 
  1274. Technical Note discusses latest changes and enhancements in the _Gestalt 
  1275. and _SysEnvirons calls. Removed _Gestalt constants now documented in Inside
  1276. Macintosh Volume VI.  Added new machine and keyboard constants for _Gestalt
  1277. and _SysEnvirons which are not covered in Inside Macintosh. Oct'91.
  1278.  
  1279.  Name  =  TN.130.ioCompletion
  1280.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.130.ioCompletion
  1281.  Size:  3K         Date: 2/15/91         Version: 
  1282.  Description:
  1283.  TN.130.ioCompletion - When making synchronous calls to the File Manager, it
  1284. is not necessary to clear ioCompletion field of the parameter block, since 
  1285. that is done for you. Some earlier technotes explicitly cleared 
  1286. ioCompletion, with the knowledge that this was unnecessary, to try to 
  1287. encourage developers to fill in all fields of parameter blocks as indicated
  1288. in Inside Macintosh.  By the way, this is true of all parameter calls—you 
  1289. only have to set fields that are explicitly required.
  1290.  
  1291.  Name  =  TN.131.TextEdit Bugs in 4.2
  1292.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.131.TextEdit Bugs in 4.2
  1293.  Size:  6K         Date: 2/15/91         Version: 
  1294.  Description:
  1295.  TN.131.TextEdit Bugs in 4.2 - This note formerly described the known bugs 
  1296. with the version of Styled TextEdit that was provided with System 4.1. Many
  1297. of these bugs were fixed in System 4.2. This updated Technical Note 
  1298. describes the remaining known problems. TEStylInsert - Calling TEStylInsert
  1299. while the TextEdit record is deactivated causes unpredictable results, so 
  1300. make sure to only call TEStylInsert when the TextEdit record is active.
  1301.  
  1302.  Name  =  TN.132.AppleTalk Interfaces
  1303.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.132.AppleTalk Interfaces
  1304.  Size:  6K         Date: 2/15/91         Version: 
  1305.  Description:
  1306.  TN.132.AppleTalk Interfaces - Technical Note #121 announced that we would 
  1307. be moving to a simplified AppleTalk Manager interface. That interface is 
  1308. available now, as part of MPW 2.0 and newer. Documentation for this new 
  1309. interface is contained in the AppleTalk Manager chapter of Inside Macintosh
  1310. Volume V. This technical note contains some of the preliminary 
  1311. documentation for this interface and some useful points about information 
  1312. about it, and AppleTalk in general.
  1313.  
  1314.  Name  =  TN.133.Is This a Spooler?
  1315.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.133.Is This a Spooler?
  1316.  Size:  4K         Date: 2/15/91         Version: 
  1317.  Description:
  1318.  TN.133.Is This a Spooler? - When the LaserShare spooler is on an AppleTalk 
  1319. network, it acts like a LaserWriter-type device, which can be chosen and 
  1320. communicated with much like a real LaserWriter. Some applications, however,
  1321. must communicate with a LaserWriter directly, not a spooler. If this is 
  1322. true for your application, you can check whether you are actually talking 
  1323. to a real LaserWriter by sending to the LaserWriter the following query:
  1324.  
  1325.  Name  =  TN.134.Boot problems
  1326.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.134.Boot problems
  1327.  Size: 26K         Date: 2/15/91         Version: 
  1328.  Description:
  1329.  TN.134.Boot problems - The death of a hard disk with megabytes worth of 
  1330. data can be exceedingly traumatic. This technical note will describe 
  1331. techniques for recovering a hard disk and the data that is on it. The 
  1332. discussion will also include some tips on how to avoid problems.
  1333.  
  1334.  Name  =  TN.135.Getting thru CUSToms
  1335.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.135.Getting thru CUSToms
  1336.  Size: 27K         Date: 2/15/91         Version: 
  1337.  Description:
  1338.  TN.135.Getting thru CUSToms - This technical note provides a way for 
  1339. developers to allow sophisticated users to add code to an off-the-shelf 
  1340. application.  Using this scheme, the user can easily install the code 
  1341. module; the application has to know how to call it and, optionally, be able
  1342. to respond to a set of predefined calls from the custom package. 
  1343.  
  1344.  Name  =  TN.136.A5 & GrowZone
  1345.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.136.A5 & GrowZone
  1346.  Size:  4K         Date: 2/15/91         Version: 
  1347.  Description:
  1348.  TN.136.A5 & GrowZone - If you have a grow zone function, it may get called 
  1349. when a system routine is trying to allocate memory. Because this can 
  1350. happen, you can’t be guaranteed that register A5 will be correct. If your 
  1351. grow zone function depends on A5, you should save register A5, load A5 from
  1352. the low-memory global CurrentA5 (a long word at $904), and restore the 
  1353. caller’s A5 before you exit.
  1354.  
  1355.  Name  =  TN.137.AppleShare 1.1 Bug
  1356.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.137.AppleShare 1.1 Bug
  1357.  Size:  4K         Date: 2/15/91         Version: 
  1358.  Description:
  1359.  TN.137.AppleShare 1.1 Bug - A bug has been discovered in AppleShare 1.1’s 
  1360. implementation of the AppleTalk Filing Protocol FPMove call. This bug only 
  1361. affects developers implementing custom workstation access code that will 
  1362. access AppleShare 1.1 servers from non-Macintosh systems (such as MS-DOS 
  1363. systems); if the guidelines below are not followed, data loss may result.
  1364.  
  1365.  Name  =  TN.138.KanjiTalk
  1366.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.138.KanjiTalk
  1367.  Size:  4K         Date: 2/15/91         Version: 
  1368.  Description:
  1369.  TN.138.KanjiTalk - This Technical Note describes the minor differences 
  1370. between using KanjiTalk with the Japanese Macintosh Plus and KanjiTalk with
  1371. a standard Macintosh Plus.
  1372.  
  1373.  Name  =  TN.139.Macintosh Plus ROMs
  1374.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.139.Macintosh Plus ROMs
  1375.  Size:  4K         Date: 2/15/91         Version: 
  1376.  Description:
  1377.  TN.139.Macintosh Plus ROMs - Readers Digest condensed version of Macintosh 
  1378. Plus ROM history, or the truth according to Bo3bdar the everpresent: 1st 
  1379. version (Lonely Hearts, checksum 4D 1E EE E1): Bug in the SCSI driver; 
  1380. won’t boot if external drive is turned off. We only produced about one and 
  1381. a half months worth of these. 2nd version (Lonely Heifers, checksum 4D 1E 
  1382. EA E1): Fixed boot bug. This version is the vast majority of beige 
  1383. Macintosh Pluses.
  1384.  
  1385.  Name  =  TN.140.PBHSetVol
  1386.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.140.PBHSetVol
  1387.  Size:  4K         Date: 2/15/91         Version: 
  1388.  Description:
  1389.  TN.140.PBHSetVol - This note explains PBHSetVol, and why its use is not 
  1390. recommended. PBHSetVol, like SetVol and PBSetVol, allows you to set the 
  1391. current default volume and directory to be used with subsequent File 
  1392. Manager calls. Unlike SetVol and PBSetVol, though, PBHSetVol lets you 
  1393. specify the volume and the directory separately, using the ioVRefNum and 
  1394. ioWDDirID fields.
  1395.  
  1396.  Name  =  TN.141.Number of Resources
  1397.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.141.Number of Resources
  1398.  Size:  4K         Date: 2/15/91         Version: 
  1399.  Description:
  1400.  TN.141.Number of Resources - This note describes the limitation of the 
  1401. number of resources in a single resource file. There is a limit to the 
  1402. number of the resources in a single resource file. This limitation is 
  1403. imposed by the resource map. There are two bytes at the end of the resource
  1404. map which are the offset from the beginning of the resource map to the 
  1405. beginning of the resource names list. 
  1406.  
  1407.  Name  =  TN.142.Network Events
  1408.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.142.Network Events
  1409.  Size:  5K         Date: 2/15/91         Version: 
  1410.  Description:
  1411.  TN.142.Network Events - Future System software enhancements will not 
  1412. support network events. This note gives hints on weaning your application 
  1413. from the use of network events.
  1414.  
  1415.  Name  =  TN.143.Don’t Call ADBReInit
  1416.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.143.Don’t Call ADBReInit
  1417.  Size:  3K         Date: 2/15/91         Version: 
  1418.  Description:
  1419.  TN.143.Don’t Call ADBReInit - Because of a bug (which causes auto-repeat) 
  1420. in the ROM version of the Macintosh SE keyboard driver, a patch was placed 
  1421. in System 4.1. If ADBReInit is called, the ROM version of the keyboard 
  1422. driver will be reloaded, and the RAM version of the driver with the patches
  1423. will not be used. Therefore, it is recommended that ADBReInit not be called
  1424. on the Macintosh SE until the problem is fixed. (There is no need to call 
  1425. ADBReInit.) This problem will not occur with the Macintosh II ROM version 
  1426. of the keyboard driver.
  1427.  
  1428.  Name  =  TN.144.Color Monitor Connection
  1429.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.144.Color Monitor Connection
  1430.  Size:  8K         Date: 5/18/91         Version: 
  1431.  Description:
  1432.  #144 - Macintosh Color Monitor Connections. Revised by Jim Luther & Wayne 
  1433. Correia February 1991. Written by Mark Baumwell July 1987. This Technical 
  1434. Note describes how to connect the Macintosh II Video Card, Macintosh IIci 
  1435. built-in video, and Macintosh LC video to third-party monitors. Changes 
  1436. since February 1990 - Added pinout description for the Macintosh LC 
  1437. external video connector and a Macintosh LC to VGA monitor adapter cable.  
  1438. Standardized signal names throughout Note.
  1439.  
  1440.  Name  =  TN.145.Debugger FKEY
  1441.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.145.Debugger FKEY
  1442.  Size:  4K         Date: 2/15/91         Version: 
  1443.  Description:
  1444.  TN.145.Debugger FKEY - This Technical Note formerly discussed showed how to
  1445. write an 'FKEY' to trap to the debugger. Changes since March 1988:  Merged 
  1446. the contents of this Note into Technical Note #256, Stand-Alone Code, ad 
  1447. nauseam. This Note formerly showed how to write an 'FKEY' resource to trap 
  1448. to the debugger.  This information is now an example of writing stand-alone
  1449. code resources in Technical Note #256, Stand-Alone Code, ad nauseam.
  1450.  
  1451.  Name  =  TN.146.MPW’s -mc68881 Option
  1452.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.146.MPW’s -mc68881 Option
  1453.  Size:  9K         Date: 2/15/91         Version: 
  1454.  Description:
  1455.  TN.146.MPW’s -mc68881 Option - This Technical Note discusses MPW’s -mc68881
  1456. option, which represents Extended values in 96 bits (instead of 80, as with
  1457. software SANE), and compatibility issues when using non-SANE system calls 
  1458. that expect 80-bit Extended values. Changes since March 1988:  Added a 
  1459. warning to explicitly check for the presence of an FPU if an application 
  1460. uses floating point instructions and removed a sentence which implied that 
  1461. all Macintosh II-class machines would have built-in FPUs.
  1462.  
  1463.  Name  =  TN.147.Finder Notes
  1464.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.147.Finder Notes
  1465.  Size:  4K         Date: 2/15/91         Version: 
  1466.  Description:
  1467.  TN.147.Finder Notes - The Finder has undergone a couple of changes you 
  1468. should keep in mind when creating the “bundle” information for your 
  1469. application.
  1470.  
  1471.  Name  =  TN.148.Mac II Board Suppliers
  1472.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.148.Mac II Board Suppliers
  1473.  Size:  4K         Date: 2/15/91         Version: 
  1474.  Description:
  1475.  TN.148.Mac II Board Suppliers - This note lists suppliers of parts that may
  1476. be helpful for Macintosh II board developers. If your company supplies 
  1477. these parts, but is not listed here, please send a message to us (at the 
  1478. address on Technical Note #0) and we’ll include you in the next revision of
  1479. this technical note.
  1480.  
  1481.  Name  =  TN.149.Document Names
  1482.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.149.Document Names
  1483.  Size:  4K         Date: 2/15/91         Version: 
  1484.  Description:
  1485.  TN.149.Document Names - Our compatibility testing for LaserShare (Apple’s 
  1486. LaserWriter spooler) has turned up a number of applications that do not 
  1487. provide the Printing Manager with a document name; although this feature is
  1488. not required, it is nice for users that share printers.
  1489.  
  1490.  Name  =  TN.150.SE Disk Driver Bug
  1491.  Path =  AMUG CD:Files:MacTechNotes:TN.101.150:TN.150.SE Disk Driver Bug
  1492.  Size:  3K         Date: 2/15/91         Version: 
  1493.  Description:
  1494.  TN.150.SE Disk Driver Bug - A bug in the Macintosh SE ROMs causes the top 
  1495. drive to be slower than the bottom one in two-drive machines. This bug is 
  1496. fixed in System 4.2 and newer.
  1497.  
  1498.  Name  =  TN.151.System Error 33
  1499.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.151.System Error 33
  1500.  Size:  4K         Date: 2/15/91         Version: 
  1501.  Description:
  1502.  TN.151.System Error 33 - System 3.2 introduced a new system error, ID=33, 
  1503. generated by the Memory Manager when it notices that a heap had been 
  1504. corrupted in a certain way. This error is listed in the file “SysErr.a” as 
  1505. “negZcbFreeErr”.
  1506.  
  1507.  Name  =  TN.152.Laser Prep Routines
  1508.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.152.Laser Prep Routines
  1509.  Size:  6K         Date: 2/15/91         Version: 
  1510.  Description:
  1511.  TN.152.Laser Prep Routines - This technical note addresses the issues 
  1512. involved in depending on the procedures and constants defined in the Laser 
  1513. Prep dictionary.
  1514.  
  1515.  Name  =  TN.153.New IU
  1516.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.153.New IU
  1517.  Size:  7K         Date: 2/15/91         Version: 
  1518.  Description:
  1519.  TN.153.New IU - The International Utilities package and the international 
  1520. resources have been changed with System file 4.1 to take advantage of the 
  1521. Script Manager.
  1522.  
  1523.  Name  =  TN.154.Large PICT Files
  1524.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.154.Large PICT Files
  1525.  Size: 11K         Date: 2/15/91         Version: 
  1526.  Description:
  1527.  TN.154.Large PICT Files - Now that we have scanners and other 
  1528. massive-picture producing types of applications, there is a need to address
  1529. the problem of how to display a PICT format object that is bigger than a 
  1530. current PICT resource is allowed to be. Note that this technique applies 
  1531. equally well to version 1 and version 2 (word-opcode) pictures as produced 
  1532. by the Macintosh II.
  1533.  
  1534.  Name  =  TN.155.Handles vs. Pointers
  1535.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.155.Handles vs. Pointers
  1536.  Size:  4K         Date: 2/15/91         Version: 
  1537.  Description:
  1538.  TN.155.Handles vs. Pointers - A handle is a handle and a pointer is a 
  1539. pointer. Applications should avoid embedding non-relocatable objects (that 
  1540. the system assumes will never move) in handles.
  1541.  
  1542.  Name  =  TN.156.Identifying Features
  1543.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.156.Identifying Features
  1544.  Size:  8K         Date: 2/15/91         Version: 
  1545.  Description:
  1546.  TN.156.Identifying Features - This technical note explains how to check at 
  1547. run time to see if specific functionality, such as the “new” TextEdit, is 
  1548. present.
  1549.  
  1550.  Name  =  TN.157.Problem with GetVInfo
  1551.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.157.Problem with GetVInfo
  1552.  Size:  7K         Date: 2/15/91         Version: 
  1553.  Description:
  1554.  TN.157.Problem with GetVInfo - The high-level call GetVInfo (and its 
  1555. low-level counterpart PBGetVInfo) may return inaccurate results for 
  1556. freeBytes when running HFS. The high-level File Manager call GetVInfo 
  1557. returns the number of free bytes on a volume as one of its parameters. 
  1558.  
  1559.  Name  =  TN.158.MultiFinder Questions
  1560.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.158.MultiFinder Questions
  1561.  Size: 12K         Date: 2/15/91         Version: 
  1562.  Description:
  1563.  TN.158.MultiFinder Questions - This technical note provides answers to some
  1564. of the more frequently asked questions about MultiFinder. The development 
  1565. name for MultiFinder was Juggler, so the term “juggle” is used in this 
  1566. technical note to denote a context switch.
  1567.  
  1568.  Name  =  TN.159.Hard Disk Hacking
  1569.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.159.Hard Disk Hacking
  1570.  Size:  4K         Date: 2/15/91         Version: 
  1571.  Description:
  1572.  TN.159.Hard Disk Hacking - For those of a technical bent with some extra 
  1573. time, you can build your own hard disk system from a cheap SCSI drive and a
  1574. driver that you write. This is not a project for those short on time, so 
  1575. beware.
  1576.  
  1577.  Name  =  TN.160.Key Mapping
  1578.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.160.Key Mapping
  1579.  Size: 13K         Date: 5/18/91         Version: 
  1580.  Description:
  1581.  #160 - Key Mapping. Revised by Jim Luther, Peter Edberg, & Imran Sayeed 
  1582. February 1991. Written by Cameron Birse September 1987. This Technical 
  1583. Note describes the Macintosh family key code mapping scheme when running 
  1584. System file 4.1 and later. This Note also provides a “safe” method for 
  1585. remapping keyboards. Changes since October 1990 - Added a section on how 
  1586. 'KMAP' resources are matched to specific ADB keyboard types and a section 
  1587. on the original Macintosh and Macintosh Plus keyboards.
  1588.  
  1589.  Name  =  TN.161.Printing Loop That Cares
  1590.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.161.Printing Loop That Cares
  1591.  Size: 16K         Date: 2/15/91         Version: 
  1592.  Description:
  1593.  TN.161.Printing Loop That Cares - This Technical Note discusses opening and
  1594. closing the Printing Manager with calls to _PrOpen and _PrClose as well as 
  1595. how to handle errors at print time. Changes since October 1989:  Added the 
  1596. section on error checking, incorporating the error code descriptions 
  1597. formerly found in Technical Note #72, Optimizing For The 
  1598. LaserWriter—Techniques and an updated version of the information formerly 
  1599. found in Technical Note #118, How To Check and Handle Printing Errors.
  1600.  
  1601.  Name  =  TN.162.MPW 2.0 Pascal Bug
  1602.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.162.MPW 2.0 Pascal Bug
  1603.  Size:  3K         Date: 2/15/91         Version: 
  1604.  Description:
  1605.  TN.162.MPW 2.0 Pascal Bug - This note formerly described a bug in the MPW 
  1606. 2.0 Pascal compiler. This bug has been fixed in MPW 2.0.2.
  1607.  
  1608.  Name  =  TN.163.Colorizing CopyBits
  1609.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.163.Colorizing CopyBits
  1610.  Size:  7K         Date: 2/15/91         Version: 
  1611.  Description:
  1612.  TN.163.Colorizing CopyBits - Inside Macintosh Volume V states that the 
  1613. foreground and background colors are applied to an image during a CopyBits 
  1614. or CopyMask call. Accidental use of this feature can create bizarre 
  1615. coloring effects. This note explains what happens, how to avoid problems, 
  1616. and how to use it.
  1617.  
  1618.  Name  =  TN.164.MPW C Functions
  1619.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.164.MPW C Functions
  1620.  Size:  4K         Date: 2/15/91         Version: 
  1621.  Description:
  1622.  TN.164.MPW C Functions - Here’s the low-down on when C functions need not 
  1623. be declared in include files. “The include files are all screwed up!” 
  1624. This is a common misconception people have when they look through the MPW C
  1625. include files.  People report that the declaration of a ROM or system call 
  1626. foo() has been mistakenly left out of this or that include file.  Here’s 
  1627. the low-down on when functions do not have to be declared in an include 
  1628. file.
  1629.  
  1630.  Name  =  TN.165.AS Drop Folder
  1631.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.165.AS Drop Folder
  1632.  Size:  4K         Date: 2/15/91         Version: 
  1633.  Description:
  1634.  TN.165.AS Drop Folder - This technical note outlines the steps an 
  1635. application must take to create files inside AppleShare drop folders. The 
  1636. AppleShare File Server allows the creation of drop folders. These are 
  1637. folders for which the user has the Make Changes privilege (write access), 
  1638. but not See Files (read access) or See Folders (search access). For an 
  1639. application to create a file in such a folder, the following procedure must
  1640. be executed in strict order:
  1641.  
  1642.  Name  =  TN.166.C Glue
  1643.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.166.C Glue
  1644.  Size:  5K         Date: 2/15/91         Version: 
  1645.  Description:
  1646.  TN. 166.C Glue - MPW 2.0 includes new C interfaces to ROM routines which no
  1647. longer do string and point conversions. These new interfaces are described 
  1648. here. In MPW prior to 2.0, the C interfaces to Macintosh OS and Toolbox 
  1649. routines that had strings or points as arguments required following these 
  1650. rules 1. Strings must be passed as C strings (null terminated). 2. Points 
  1651. must be passed by address.
  1652.  
  1653.  Name  =  TN.167.AS Foreground
  1654.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.167.AS Foreground
  1655.  Size:  4K         Date: 2/15/91         Version: 
  1656.  Description:
  1657.  TN.167.AS Foreground - This technical note outlines the requirements and 
  1658. restrictions of an AppleShare foreground application. This information 
  1659. pertains to AppleShare versions 1.1 and newer. An AppleShare server 
  1660. requires a dedicated Macintosh. The server, however, is implemented as an 
  1661. interrupt-driven application that runs in the system heap of the server 
  1662. machine.
  1663.  
  1664.  Name  =  TN.168.HyperCard and You
  1665.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.168.HyperCard and You
  1666.  Size: 17K         Date: 5/18/91         Version: 
  1667.  Description:
  1668.  #168 HyperCard And You - This Technical Note describes some HyperCard 
  1669. anomalies with which developers should be familiar when developing 
  1670. stackware, and it documents differences between HyperCard versions where 
  1671. appropriate. Changes since November 1987 - Consolidated Technical Notes 
  1672. 168, HyperCard 'snd ' Resources; 169, HyperCard 1.0.1 and 1.1 Anomalies; 
  1673. and 170, HyperCard File Format while adding and updating material with 
  1674. regard to HyperCard 2.0 and condensing or obsoleting information on bugs 
  1675. which have been addressed.
  1676.  
  1677.  Name  =  TN.169.HyperCard Anomalies
  1678.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.169.HyperCard Anomalies
  1679.  Size:  4K         Date: 5/18/91         Version: 
  1680.  Description:
  1681.  #169 HyperCard 1.0.1 And 1.1 Anomalies. Revised by Jeremy J. Bornstein, 
  1682. death dwarf of minraud February 1991. Written by Chris Knepper November 
  1683. 1987. This Technical Note formerly described some HyperCard anomalies 
  1684. between HyperCard 1.0.1 and 1.1. Changes since March 1988. Merged contents
  1685. into Technical Note #168, HyperCard And You: Economy Edition.
  1686.  
  1687.  Name  =  TN.170.HyperCard Format
  1688.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.170.HyperCard Format
  1689.  Size:  4K         Date: 5/18/91         Version: 
  1690.  Description:
  1691.  #170 HyperCard File Format. Revised by jeremy j. bornstein, death dwarf 
  1692. of minraud February 1991. Written by Chris Knepper November 1987
  1693. This Technical Note formerly discussed the proprietary nature of the 
  1694. HyperCard file format and Apple’s policy not to license it. Changes since 
  1695. March 1988:  Merged contents into Technical Note #168, HyperCard And You 
  1696. Economy Edition. This Note formerly discussed the proprietary nature of the
  1697. HyperCard file format and Apple’s policy not to license it.  This 
  1698. information has been updated for HyperCard 2.0 under Claris and integrated 
  1699. into Technical Note #168, HyperCard And You - Economy Edition.
  1700.  
  1701.  Name  =  TN.171._PackBits
  1702.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.171._PackBits
  1703.  Size:  6K         Date: 2/15/91         Version: 
  1704.  Description:
  1705.  TN.171 - This Technical Note describes the format of data packed by the 
  1706. Toolbox utility _PackBits and documents a change to the srcBytes limit and 
  1707. possible worst case.
  1708.  
  1709.  Name  =  TN.172.Popup MDEF Message
  1710.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.172.Popup MDEF Message
  1711.  Size:  6K         Date: 2/15/91         Version: 
  1712.  Description:
  1713.  TN.172.Popup MDEF Message - In order to support popup menus, menu 
  1714. definition procedures (MDEFs) must now respond to a new message, mPopupMsg.
  1715. mPopupMsg is message number 3. When your MDEF is called with this message, 
  1716. it should calculate the rectangle in which the popup menu should appear.
  1717.  
  1718.  Name  =  TN.173.PrGeneral Bug
  1719.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.173.PrGeneral Bug
  1720.  Size:  5K         Date: 2/15/91         Version: 
  1721.  Description:
  1722.  TN.173.PrGeneral Bug - This technical note documents a bug in the 
  1723. implementation of the PrGeneral procedure in the LaserWriter driver version
  1724. 4.0. The bug has to do with the format of the information returned by the 
  1725. GetRslData opcode. This technical note will also describe a workaround for 
  1726. the problem.
  1727.  
  1728.  Name  =  TN.174.PrintAction
  1729.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.174.PrintAction
  1730.  Size:  7K         Date: 2/15/91         Version: 
  1731.  Description:
  1732.  TN.174.PrintAction - This technical note describes how Print Drivers can 
  1733. access the Script Manager Print Action routine to print unconventional 
  1734. text, such as Japanese or Arabic.
  1735.  
  1736.  Name  =  TN.175.SetLineWidth Revealed
  1737.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.175.SetLineWidth Revealed
  1738.  Size:  9K         Date: 2/15/91         Version: 
  1739.  Description:
  1740.  TN.175.SetLineWidth Revealed - This technical note describes the internal 
  1741. implementation, and correct method of using, the SetLineWidth Picture 
  1742. Comment. The SetLineWidth picture comment provides a way of accessing 
  1743. PostScript’s 'setlinewidth' operator.
  1744.  
  1745.  Name  =  TN.176.Mac Memory Configuration
  1746.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.176.Mac Memory Configuration
  1747.  Size:117K         Date: 2/15/91         Version: 10-91
  1748.  Description:
  1749.  Tech Note 176 - This Technical Note describes the different possible memory
  1750. configurations of all models of the Macintosh family that use Single 
  1751. In-line Memory Modules (SIMMs) as well as the non-SIMM memory upgrade 
  1752. options of the Macintosh Portable and Macintosh Classic. (Special thanks to
  1753. Brian Howard for the Macintosh Plus and original SE drawings, and for the 
  1754. inspiration for the other drawings.)  This Note also describes the 
  1755. obstacles to using four megabit (Mbit) DRAM SIMMs in Apple’s Macintosh 
  1756. products to date. Added specifications for new CPUs and additional 4 Mbit 
  1757. DRAM information.
  1758.  
  1759.  Name  =  TN.177.WNE Bug/1.0
  1760.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.177.WNE Bug/1.0
  1761.  Size:  4K         Date: 2/15/91         Version: 
  1762.  Description:
  1763.  TN.177.WNE Bug/1.0 - This Technical Note discusses a bug in WaitNextEvent 
  1764. in MultiFinder 1.0. This bug only occurs when WaitNextEvent is called from 
  1765. the background. This bug will be fixed in the next release of MultiFinder. 
  1766. Change since 11/87: the bug will be fixed in Systems with versions greater 
  1767. than $04FF.
  1768.  
  1769.  Name  =  TN.178.Sorting
  1770.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.178.Sorting
  1771.  Size: 17K         Date: 2/15/91         Version: 
  1772.  Description:
  1773.  TN.178.Sorting - This technical note describes how to modify the standard 
  1774. string comparison by constructing an itl2 resource. Developers may want to 
  1775. modify the standard string comparison if Apple’s comparison doesn’t meet 
  1776. their needs or if Apple has not written a string comparison routine for the
  1777. language that concerns them.
  1778.  
  1779.  Name  =  TN.179.ioNamePtr
  1780.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.179.ioNamePtr
  1781.  Size:  3K         Date: 2/15/91         Version: 
  1782.  Description:
  1783.  TN.179.ioNamePtr - It is very important to set ioNamePtr when making PB 
  1784. calls, even if you don’t want  those calls to return a name.  Whenever 
  1785. Inside Macintosh indicates that ioNamePtr is either required for input or 
  1786. returns something, you must set ioNamePtr to either nil (if you aren’t 
  1787. using a name) or to point to storage for a Str255. If you don’t explicitly 
  1788. set ioNamePtr, strange and unusual crashes may occur, depending on the 
  1789. machine/configuration your code is run on.
  1790.  
  1791.  Name  =  TN.180.MultiFinder Miscellanea
  1792.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.180.MultiFinder Miscellanea
  1793.  Size: 24K         Date: 2/15/91         Version: 
  1794.  Description:
  1795.  TN.180.MultiFinder Miscellanea - This Technical Note discusses MultiFinder 
  1796. issues of which programmers should be aware. Changes since June 1988: 
  1797. Updated and generalized sample code to reflect new MPW 3.0 calls in both C 
  1798. and Pascal for saving and restoring A5 for interrupt code that accesses 
  1799. application globals.  Removed text that can be found in Programmer’s Guide 
  1800. to MultiFinder, and added a note about _PostEvent.
  1801.  
  1802.  Name  =  TN.181.Picture Comments
  1803.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.181.Picture Comments
  1804.  Size:  4K         Date: 2/15/91         Version: 
  1805.  Description:
  1806.  TN.181.Picture Comments - Application-specific picture comment conflict and
  1807. registration is addressed, along with Developer Technical Support’s method 
  1808. for solving it. I will assume that the nature and usefulness of picture 
  1809. comments are already well known.
  1810.  
  1811.  Name  =  TN.182.WordBreak Tables
  1812.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.182.WordBreak Tables
  1813.  Size: 12K         Date: 2/15/91         Version: 
  1814.  Description:
  1815.  TN.182.WordBreak Tables - This technical note describes how to construct 
  1816. auxiliary break tables for use with the FindWord routine in the Script 
  1817. Manager. Constructing break tables - The FindWord algorithm finds word 
  1818. boundaries by determining where words should not be broken. For example, 
  1819. “re-do” is one word: it should not be broken at the hyphen. In other words,
  1820. a sequence of the form: (letter, hyphen, letter) should not be broken 
  1821. between the first and second or second and third character.
  1822.  
  1823.  Name  =  TN.183.Position ind PS
  1824.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.183.Position ind PS
  1825.  Size:  7K         Date: 2/15/91         Version: 
  1826.  Description:
  1827.  TN.183.Position ind PS - This technical note describes a method for 
  1828. inserting position-independent PostScript into QuickDraw pictures. There is
  1829. a problem with pictures that contain PostScript code. Sometimes the 
  1830. PostScript code that is inserted into the picture is dependent on the 
  1831. position of the picture on the page. The problem arises when these pictures
  1832. are cut or copied from their original position, and pasted into another 
  1833. position or even into another document. The PostScript code will not know 
  1834. the new location of the picture, and will not execute correctly.
  1835.  
  1836.  Name  =  TN.184.Notification Manager
  1837.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.184.Notification Manager
  1838.  Size: 12K         Date: 2/15/91         Version: 
  1839.  Description:
  1840.  TN.184.Notification Manager - This Technical Note describes the 
  1841. Notification Manager, the part of the operating system that lets an 
  1842. application, desk accessory, or driver alert the user. Changes since 
  1843. October 1989:  Clarified the section on error handling for calls to 
  1844. _NMInstall.
  1845.  
  1846.  Name  =  TN.185.OpenRFPerm
  1847.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.185.OpenRFPerm
  1848.  Size:  4K         Date: 2/15/91         Version: 
  1849.  Description:
  1850.  TN.185.OpenRFPerm - This note corrects an error in the description of the 
  1851. Resource Manager routine OpenRFPerm found in Inside Macintosh Volume IV.
  1852.  
  1853.  Name  =  TN.186.Lock, Unlock the Range
  1854.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.186.Lock, Unlock the Range
  1855.  Size:  8K         Date: 5/18/91         Version: 
  1856.  Description:
  1857.  #186 - Lock, Unlock the Range. This Technical Note discusses the 
  1858. _PBLockRange and _PBUnlockRange routines; how they act on local and shared 
  1859. volumes and why you should not set the ioPosMode field to fsFromLEOF in the
  1860. parameter block for those routines when accessing a file on an AppleShare 
  1861. volume. Changes since April 1988:  Added information on how _PBLockRange 
  1862. and _PBUnlockRange really work.
  1863.  
  1864.  Name  =  TN.187.ioPosOffset
  1865.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.187.ioPosOffset
  1866.  Size:  3K         Date: 2/15/91         Version: 
  1867.  Description:
  1868.  TN.187.ioPosOffset - The Device Manager chapter of Inside Macintosh Volume 
  1869. II says that ioPosOffset is passed to and returned by Read and Write calls.
  1870. It also says that “After the read [or write] is completed, the position is 
  1871. returned in ioPosOffset…” Actually, ioPosOffset is not changed by either 
  1872. call. Also note that device drivers should only look at the dCtlPosition 
  1873. field of the DCE, and should not look directly at the ioPosOffset field of 
  1874. the parameter block. The Device Manager sets up dCtlPosition for the 
  1875. driver, taking into account both the ioPosMode and the ioPosOffset.
  1876.  
  1877.  Name  =  TN.188.ChangedResource
  1878.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.188.ChangedResource
  1879.  Size:  4K         Date: 2/15/91         Version: 
  1880.  Description:
  1881.  TN.188.ChangedResource - The toolbox trap ChangedResource is used to inform
  1882. the Resource Manager that the contents of a resource have changed and 
  1883. should be written to disk. The actual write occurs on the next call to 
  1884. WriteResource (for the specific resource) or UpdateResFile (for the 
  1885. resource file containing the specified resource). When called, 
  1886. ChangedResource reserves enough disk space to contain the changed resource.
  1887. A little-known “feature” of ChangedResource is that it reserves disk space 
  1888. every time it is called.
  1889.  
  1890.  Name  =  TN.189.Version Territory
  1891.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.189.Version Territory
  1892.  Size: 13K         Date: 2/15/91         Version: 
  1893.  Description:
  1894.  TN.189.Version Territory - This Technical Note describes the 'vers' 
  1895. resource supported by Finder 6.1 and later. Changes since October 1988: 
  1896. Changed MPW C code to reflect the changes in MPW C 3.1. Finder 6.1 
  1897. introduced a feature which allows the creator of a file to identify the 
  1898. version of that file as well as the version of a set of files which 
  1899. includes that file.  These version numbers are stored in 'vers' resources, 
  1900. and each contains a BCD form of the version number and a longer version 
  1901. message (which the Finder displays in the Get Info window for each file).
  1902.  
  1903.  Name  =  TN.190.WDs & MultiFinder
  1904.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.190.WDs & MultiFinder
  1905.  Size:  4K         Date: 2/15/91         Version: 
  1906.  Description:
  1907.  TN.190.WDs & MultiFinder - This technical note describes the way that 
  1908. working directories are handled under MultiFinder. Some versions of 
  1909. Technical Note #77 claim that you can open working directories with a 
  1910. unique ioWDProcID and that they will only be deallocated when “the system 
  1911. is rebooted.”
  1912.  
  1913.  Name  =  TN.191.Font Names
  1914.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.191.Font Names
  1915.  Size:  9K         Date: 2/15/91         Version: 
  1916.  Description:
  1917.  TN.191.Font Names - This note recommends the use of font names rather than 
  1918. font numbers. The Font Manager chapter of Inside Macintosh Volume IV claims
  1919. that font family numbers 0 through 127 are reserved for use by Apple, and 
  1920. numbers 128 through 255 are assigned by Apple for fonts created by software
  1921. developers. This is no longer true. Developer Technical Support does not 
  1922. assign font family numbers. You should only use font numbers to reference 
  1923. the system font (font 0) and application default font (font 1). All other 
  1924. fonts should be identified by name. The Font/DA Mover will renumber a font 
  1925. when moving it into a file containing a conflicting font family.
  1926.  
  1927.  Name  =  TN.192.Surprises in LW 5.0
  1928.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.192.Surprises in LW 5.0
  1929.  Size: 10K         Date: 2/15/91         Version: 
  1930.  Description:
  1931.  TN.192.Surprises in LW 5.0 - This Technical Note describes some changes in 
  1932. version 5.0 and later LaserWriter drivers. Changes since April 1988 - 
  1933. Described a bug in 5.x which is fixed in 6.0 and later, and reiterated a 
  1934. warning about storing fonts in an application. With the release of 
  1935. LaserWriter 5.0 and background printing, a few changes had to be made to 
  1936. the LaserWriter driver.  Although these changes were transparent to most 
  1937. applications, some have had problems.  Most of these problems are related 
  1938. to use of unsupported features.  This Note details a partial list of the 
  1939. changes.
  1940.  
  1941.  Name  =  TN.193.So Many Bitmaps…
  1942.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.193.So Many Bitmaps…
  1943.  Size:  6K         Date: 2/15/91         Version: 
  1944.  Description:
  1945.  TN.193.So Many Bitmaps… - This Technical Note discusses the routine 
  1946. BitMapToRegion, which converts a bitmap to a region, and is available in 
  1947. the 32-Bit QuickDraw INIT and from Apple Software Licensing.
  1948. Changes since October 1989:  Added trap definitions for developers using 
  1949. the 32-Bit QuickDraw version of this routine without the correct MPW 
  1950. include file.
  1951.  
  1952.  Name  =  TN.194.WMgrPortability
  1953.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.194.WMgrPortability
  1954.  Size:  7K         Date: 2/15/91         Version: 
  1955.  Description:
  1956.  TN.194.WMgrPortability - Where WMgrPort (the Window Manager’s port), 
  1957. MultiFinder, and drawing outside of one’s windows will be reconciled. 
  1958. Beware - Drawing outside of windows from within an application is 
  1959. guaranteed to make that application less compatible with future systems. In
  1960. order to be as MultiFinder compatible as possible, draw only in response to
  1961. an update event or as part of the feedback for a user action, i.e. while 
  1962. tracking the mouse. MultiFinder compatibility is just as important as HFS 
  1963. compatibility!
  1964.  
  1965.  Name  =  TN.195.ASP & AFP
  1966.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.195.ASP & AFP
  1967.  Size:  4K         Date: 2/15/91         Version: 
  1968.  Description:
  1969.  TN.195.ASP & AFP - The descriptions of the AppleTalk Session Protocol and 
  1970. AppleTalk Filing Protocol functions within the body of the AppleTalk 
  1971. Manager chapter are incorrect and conflict with those in the Summary of the
  1972. AppleTalk Manager. This technical note resolves the discrepancy.
  1973.  
  1974.  Name  =  TN.196.CDEF Params and Bugs
  1975.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.196.CDEF Params and Bugs
  1976.  Size:  4K         Date: 2/15/91         Version: 
  1977.  Description:
  1978.  TN.196.CDEF Params and Bugs - This Technical Note describes known bugs in 
  1979. the Control Manager which affect control definition functions ('CDEF' 
  1980. resources). Changes since August 1988:  Updated to reflect known bugs in 
  1981. the posCntl and thumbCntl messages and the Control Manager _TrackControl 
  1982. call.
  1983.  
  1984.  Name  =  TN.197.Chooser PACK
  1985.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.197.Chooser PACK
  1986.  Size: 11K         Date: 2/15/91         Version: 
  1987.  Description:
  1988.  TN.197.Chooser PACK - Beginning with version 3.2, the Chooser has been 
  1989. enhanced to provide support for additional controls. As stated in Inside 
  1990. Macintosh IV-217, the Chooser communicates with device packages as if they 
  1991. were the following function:
  1992.  
  1993.  Name  =  TN.198.NFNTs
  1994.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.198.NFNTs
  1995.  Size: 11K         Date: 2/15/91         Version: 
  1996.  Description:
  1997.  TN.198.NFNTs - Font/DA Mover version 3.8 (shipped with System 6.0) 
  1998. incorporates support for 'NFNT' resources and styled font family members. 
  1999. This note discusses several issues concerning the arrangement of 
  2000. font-related resources and their IDs. It also documents the proper 
  2001. arrangement of font resources within the font files that Font/DA Mover 
  2002. uses.
  2003.  
  2004.  Name  =  TN.199.KillNBP
  2005.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.199.KillNBP
  2006.  Size:  4K         Date: 2/15/91         Version: 
  2007.  Description:
  2008.  TN.199.KillNBP - This technical note clears up some confusion regarding the
  2009. Name Binding Protocol KillNBP function. The description of the PKillNBP 
  2010. function on page 519 of Inside Macintosh Volume V is somewhat confusing. 
  2011. The data type of the parameter thePBptr is incorrectly given as ATPPBPtr 
  2012. and the pointer to the queue element from the NBP call to be aborted is 
  2013. incorrectly given as being passed in aKillQEl. The following is a correct 
  2014. description of the KillNBP function:
  2015.  
  2016.  Name  =  TN.200.MPW 2.0.2 Bugs
  2017.  Path =  AMUG CD:Files:MacTechNotes:TN.151.200:TN.200.MPW 2.0.2 Bugs
  2018.  Size: 27K         Date: 2/15/91         Version: 
  2019.  Description:
  2020.  TN.200.MPW 2.0.2 Bugs - This Technical Note describes latest information 
  2021. about bugs or unexpected “features” in the MPW C, Pascal, and Assembler 
  2022. products and the Toolbox and OS Interface Libraries.  We intend this Note 
  2023. to be a complete list of all known bugs in these products, which will be 
  2024. updated as old bugs are fixed, or new ones appear.  If you have encountered
  2025. a bug or unexpected feature which is not described here, be sure to let us 
  2026. know.  Specific code examples are useful.
  2027.  
  2028.  Name  =  TN.201.Read Packet
  2029.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.201.Read Packet
  2030.  Size:  3K         Date: 2/15/91         Version: 
  2031.  Description:
  2032.  TN.201.Read Packet - This technical note clears up some confusion 
  2033. concerning the low-level function ReadPacket. This function is called by 
  2034. protocol handlers and socket listeners.
  2035.  
  2036.  Name  =  TN.202.Resetting the Event Mask
  2037.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.202.Resetting the Event Mask
  2038.  Size:  6K         Date: 2/15/91         Version: 
  2039.  Description:
  2040.  TN.202.Resetting the Event Mask - In most cases, applications should not 
  2041. modify the system event mask, which means they should avoid calling 
  2042. SetEventMask and not alter the low-memory global SysEvtMask.  Modifying the
  2043. event mask is of no use to most applications, and the only situation in 
  2044. which an application might need to modify it is to detect key-up events.  
  2045. Only those developers creating applications which must detect key-up events
  2046. need to know the information presented in this Technical Note.  Other 
  2047. developers should avoid altering the system event mask at all costs.
  2048.  
  2049.  Name  =  TN.203.Managerial Abuse
  2050.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.203.Managerial Abuse
  2051.  Size: 13K         Date: 2/15/91         Version: 
  2052.  Description:
  2053.  TN.203.Managerial Abuse - When using the various pieces of the Macintosh 
  2054. operating system there is a temptation to try to stretch the built-in 
  2055. Managers too far. Developers should be aware of the intended purpose of the
  2056. various Managers and beware of using them for things that they were not 
  2057. designed to handle. If extended beyond their design goals, they will become
  2058. slow and unwieldy.
  2059.  
  2060.  Name  =  TN.204.HFS Tidbits
  2061.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.204.HFS Tidbits
  2062.  Size:  4K         Date: 2/15/91         Version: 
  2063.  Description:
  2064.  TN.204.HFS Tidbits - This Technical Note describes two poorly documented 
  2065. features of the File Manager. Always Set ioFVersNum to Zero - When making a
  2066. File Manager call which uses a CInfoPBRec, or the fileParam or ioParam 
  2067. portion of either a ParamBlockRec or an HParamBlockRec, you should set the 
  2068. ioFVersNum field to zero. 
  2069.  
  2070.  Name  =  TN.205.MultiFinder Revisited
  2071.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.205.MultiFinder Revisited
  2072.  Size: 12K         Date: 2/15/91         Version: 
  2073.  Description:
  2074.  TN.205.MultiFinder Revisited - This Technical Note describes several new 
  2075. features found in MultiFinder 6.0 and answers a few more commonly-asked 
  2076. questions. Changes since October 1989:  Clarified the section on 
  2077. childDiedEvent events. How Can I Tell If MultiFinder is Present. Once 
  2078. again, you can’t.  Previous Technical Notes discuss how to check for the 
  2079. new services available with MultiFinder (i.e., _WaitNextEvent and the 
  2080. temporary memory allocation calls).
  2081.  
  2082.  Name  =  TN.206.Space Aliens (ADB) 10/91
  2083.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.206.Space Aliens (ADB) 10/91
  2084.  Size: 14K         Date: 2/15/91         Version: 
  2085.  Description:
  2086.  TN.206.Space Aliens (ADB) - October 1991 - This Technical Note explains how
  2087. the Apple Desktop Bus (ADB) works on the Macintosh.  This Note covers the 
  2088. boot process, driver installation, ADB Manager run-time behavior, use of 
  2089. ADB Manager calls, and answers commonly asked questions.
  2090.  
  2091.  Name  =  TN.207.Styled TextEdit 6.0
  2092.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.207.Styled TextEdit 6.0
  2093.  Size: 28K         Date: 2/15/91         Version: 
  2094.  Description:
  2095.  TN.207.Styled TextEdit 6.0 - Some changes were made to TextEdit in System 
  2096. 6.0 to provide more functionality and to make life easier for the 
  2097. programmer using TextEdit.  This Note documents those changes and 
  2098. enhancements. Changes since August 1, 1988:  Corrected an error in 
  2099. TEDispatchRec in the figure on page 8.
  2100.  
  2101.  Name  =  TN.208.Setting and Restoring A5
  2102.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.208.Setting and Restoring A5
  2103.  Size:  9K         Date: 2/15/91         Version: 
  2104.  Description:
  2105.  TN.208.Setting and Restoring A5 - The routines SetupA5 and RestoreA5 do not
  2106. work properly when used with some optimizing Pascal and C compilers.  Two 
  2107. new routines, SetCurrentA5 and SetA5, are available in MPW 3.0, and they 
  2108. should work with any compiler. Changes since December 1988. Removed the 
  2109. sample code and expanded the explanation of these two routines.  The sample
  2110. code in Technical Note #180 reflects these new A5 routines.
  2111.  
  2112.  Name  =  TN.209.CD ROM Formats
  2113.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.209.CD ROM Formats
  2114.  Size:  5K         Date: 2/15/91         Version: 
  2115.  Description:
  2116.  TN.209.CD ROM Formats - Generally, if a Macintosh has problems with a High 
  2117. Sierra disc, it’s because the disc in question  doesn’t really conform to 
  2118. the High Sierra specification.  There are actually two specifications of 
  2119. the High Sierra format. The Paper 28 May 1986 Working Paper for Information
  2120. Processing — Volume and File Structure of Compact Read Only Optical Discs 
  2121. for Information Interchange (known as the “High Sierra” specification.)  
  2122. We’ll call discs conforming to this standard “High Sierra” discs.
  2123.  
  2124.  Name  =  TN.210.Desktop File Limits
  2125.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.210.Desktop File Limits
  2126.  Size:  4K         Date: 2/15/91         Version: 
  2127.  Description:
  2128.  TN.210.Desktop File Limits - There is a limit to the number of 
  2129. applications/files that the Finder can “see” on a single volume. This 
  2130. limitation is imposed by the Desktop file. The Desktop file is a resource 
  2131. file that the Finder uses to keep track of information about files and 
  2132. applications, including Finder file comments (Get Info comments), and how 
  2133. these files and applications relate to each other.
  2134.  
  2135.  Name  =  TN.211.Palette Manager Changes
  2136.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.211.Palette Manager Changes
  2137.  Size:  6K         Date: 2/15/91         Version: 
  2138.  Description:
  2139.  TN.211.Palette Manager Changes - This Technical Note describes the changes 
  2140. and enhancements to the Palette Manager in System Software 6.0.2 and future
  2141. versions.
  2142.  
  2143.  Name  =  TN.212.Joy of 32-Bit Clean
  2144.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.212.Joy of 32-Bit Clean
  2145.  Size: 12K         Date: 2/15/91         Version: 
  2146.  Description:
  2147.  TN.212.Joy of 32-Bit Clean - What to do (and what not to do) to make your 
  2148. programs run under A/UX and future versions of the Macintosh System 
  2149. Software. Changes since October 1988. Added information on writing 32-bit 
  2150. clean CDEFs, and updated A/UX information to reflect the capabilities of 
  2151. A/UX 1.1.
  2152.  
  2153.  Name  =  TN.213._StripAddress
  2154.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.213._StripAddress
  2155.  Size:  9K         Date: 2/15/91         Version: 
  2156.  Description:
  2157.  TN.213._StripAddress - Inside Macintosh, Volume V, The OS Utilities, 
  2158. incorrectly documents the _StripAddress trap; this Technical Note correctly
  2159. documents the trap and gives guidelines for its use. Changes since April 
  2160. 1990. Added a discussion of why the _StripAddress trap should be used under
  2161. certain circumstances when patching traps.
  2162.  
  2163.  Name  =  TN.214.New Resource Mgr Calls
  2164.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.214.New Resource Mgr Calls
  2165.  Size:  4K         Date: 2/15/91         Version: 
  2166.  Description:
  2167.  TN.214.New Resource Mgr Calls - This Technical Note describes two new 
  2168. Resource Manager calls that make opening and creating resource files much 
  2169. easier. MPW 3.0 supplies glue routines for two new Resource Manager calls 
  2170. which provide new, easier ways of opening and creating resource files.
  2171.  
  2172.  Name  =  TN.215.“New” cdev Messages
  2173.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.215.“New” cdev Messages
  2174.  Size:  5K         Date: 2/15/91         Version: 
  2175.  Description:
  2176.  TN.215.“New” cdev Messages - This Technical Note describes some previously 
  2177. undocumented messages that the Control Panel can send to a Control Panel 
  2178. device (cdev). The Control Panel will send messages to a Control Panel 
  2179. device (cdev) in response to the user selecting the Undo, Cut, Copy, Paste 
  2180. and Clear items of the Edit menu.  It will also send a message if the cdev 
  2181. contains a 'CURS' = –4064 resource.  The following is a list of the 
  2182. previously undocumented messages, descriptions, and values:
  2183.  
  2184.  Name  =  TN.216.AppleShare Limits
  2185.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.216.AppleShare Limits
  2186.  Size:  3K         Date: 2/15/91         Version: 
  2187.  Description:
  2188.  TN.216.AppleShare Limits - This Technical Note describes some 
  2189. machine-dependent limits of current versions of AppleShare and AppleShare 
  2190. servers. The following chart lists some current AppleShare limits which are
  2191. based upon the chosen server platform and memory configuration.  The limits
  2192. which otherwise might be present on a workstation are still in effect and 
  2193. are not affected by the workstation being logged into an AppleShare server.
  2194. These limits will change in the future.
  2195.  
  2196.  Name  =  TN.217.Font File Icons
  2197.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.217.Font File Icons
  2198.  Size:  5K         Date: 5/18/91         Version: 
  2199.  Description:
  2200.  #217 Where Have My Font Icons Gone? Revised by Pete “Luke” Alexander April 
  2201. 1991. Written by Pete “Luke” Alexander December 1988. This Technical
  2202. Note discusses why you should not link directly from your font files to the
  2203. font icons provided by LaserWriter driver 5.2 and later. Changes since 
  2204. December 1988. Added some useful tips and described the method required to
  2205. bundle an icon to your font file.
  2206.  
  2207.  Name  =  TN.218.New High-Level File Mgr
  2208.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.218.New High-Level File Mgr
  2209.  Size:  6K         Date: 2/15/91         Version: 
  2210.  Description:
  2211.  TN.218.New High-Level File Mgr - This Technical Note describes some new 
  2212. high-level File Manager calls that make dealing with the Hierarchical File 
  2213. System (HFS) easier. When the Hierarchical File System (HFS) was first 
  2214. introduced, a large number of low-level File Manager calls were documented.
  2215. Unfortunately, higher-level equivalents to these calls were not present 
  2216. until now.  The glue for these routines is built into MPW 3.0.  They are 
  2217. provided as a convenience for those of you who hate filling in parameter 
  2218. blocks.
  2219.  
  2220.  Name  =  TN.219.New Memory Manager Glue
  2221.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.219.New Memory Manager Glue
  2222.  Size:  4K         Date: 2/15/91         Version: 
  2223.  Description:
  2224.  TN.219.New Memory Manager Glue - This Technical Note describes some new 
  2225. Memory Manager routines which make life a little easier for C and Pascal 
  2226. programmers. MPW 3.0 includes some new glue routines that allow you to 
  2227. allocate pre-zeroed handles and pointers and to allocate memory (zeroed or 
  2228. otherwise) in the system heap.  These capabilities have always been 
  2229. available to assembly language programmers, but these routines make it 
  2230. possible for C and Pascal programmers to achieve the same results.
  2231.  
  2232.  Name  =  TN.220.Segment Loader Limits
  2233.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.220.Segment Loader Limits
  2234.  Size:  5K         Date: 2/15/91         Version: 
  2235.  Description:
  2236.  TN.220.Segment Loader Limits - This Technical Note discusses the jump table
  2237. limitations of the Segment Loader and suggests some ways to work around 
  2238. these limitations to minimize the problem.  These limitations are most 
  2239. evident to developers using MacApp and other object-oriented environments.
  2240.  
  2241.  Name  =  TN.221.NuBus Interrupt Latency
  2242.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.221.NuBus Interrupt Latency
  2243.  Size:  9K         Date: 2/15/91         Version: 
  2244.  Description:
  2245.  TN.221.NuBus Interrupt Latency - This Technical Note discusses NuBus™ 
  2246. interrupt latency, and why, contrary to popular belief, the Macintosh is 
  2247. not a real-time machine. Changes since December 1988:  Changed sample code 
  2248. to defer cursor rendering to a deferred task rather than a “pseudo-VBL” 
  2249. task.
  2250.  
  2251.  Name  =  TN.222.Custom Menu Flashing
  2252.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.222.Custom Menu Flashing
  2253.  Size:  4K         Date: 2/15/91         Version: 
  2254.  Description:
  2255.  TN.222.Custom Menu Flashing - Selected menu items in a custom 'MDEF' 
  2256. resource do not flash correctly due to a bug in the Menu Manager.  This 
  2257. Technical Note describes the problem and explains how to make your 'MDEF' 
  2258. flash correctly.
  2259.  
  2260.  Name  =  TN.223._InitGraph with MPW Asm
  2261.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.223._InitGraph with MPW Asm
  2262.  Size:  5K         Date: 2/15/91         Version: 
  2263.  Description:
  2264.  TN.223._InitGraph with MPW Asm - The Macintosh Programmer’s Workshop (MPW) 
  2265. requires assembly-language programmers to allocate their own QuickDraw 
  2266. global variables rather than use the default record as indicated in Inside 
  2267. Macintosh.
  2268.  
  2269.  Name  =  TN.224.Opening AppleTalk
  2270.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.224.Opening AppleTalk
  2271.  Size:  5K         Date: 2/15/91         Version: 
  2272.  Description:
  2273.  TN.224.Opening AppleTalk - This Technical Note describes the most 
  2274. effective, safe, and compatible way to open the AppleTalk drivers, .MPP and
  2275. .ATP. The process of opening the AppleTalk drivers, .MPP and .ATP, can be 
  2276. greatly simplified.  The AppleTalk Manager chapters of Inside Macintosh 
  2277. describe the calls MPPOpen and ATPLoad for use by high-level languages.  
  2278. They also describe the process of examining low-memory globals SPConfig and
  2279. PortBUse before calling _Open for assembly language use of AppleTalk.
  2280.  
  2281.  Name  =  TN.225.Using RegisterName
  2282.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.225.Using RegisterName
  2283.  Size:  4K         Date: 2/15/91         Version: 
  2284.  Description:
  2285.  TN.225.Using RegisterName - The verify flag indicator byte (verifyFlag) of 
  2286. the AppleTalk RegisterName function should always be set TRUE in published 
  2287. code. The AppleTalk chapter of Inside Macintosh, Volume II-322, in 
  2288. describing the RegisterName function, states:
  2289.  
  2290.  Name  =  TN.226.Moving Your Cat
  2291.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.226.Moving Your Cat
  2292.  Size: 13K         Date: 2/15/91         Version: 
  2293.  Description:
  2294.  #226 Moving Your Cat Revised by John Harvey February 1991. This Technical 
  2295. Note clarifies the documentation in Inside Macintosh for _PBCatMove and 
  2296. provides a demonstration on how to use it. Changes since February 1989. 
  2297. Added a discussion of using NIL for the destination name pointer, which is 
  2298. the simplest way to use _CatMove, and revised the sample code to use the 
  2299. high-level File Manager calls.  Thanks to Tim Dierks of Apple Developer 
  2300. Technical Support U.K. for pointing out the problems with the previous 
  2301. version of this Note.
  2302.  
  2303.  Name  =  TN.227.Toolbox Karma
  2304.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.227.Toolbox Karma
  2305.  Size:  6K         Date: 2/15/91         Version: 
  2306.  Description:
  2307.  TN.227.Toolbox Karma - This Technical Note discusses Macintosh Toolbox 
  2308. compatibility and what you can do to help the Macintosh continue evolving 
  2309. in the future. It is getting increasingly difficult to make additions to 
  2310. the Macintosh Toolbox.  The single greatest obstacle today is 
  2311. compatibility.  Often, engineering is prevented from doing something in an 
  2312. elegant manner because it would break some applications.  This usually 
  2313. leaves three choices.
  2314.  
  2315.  Name  =  TN.228.Swapping MMU Mode
  2316.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.228.Swapping MMU Mode
  2317.  Size:  5K         Date: 2/15/91         Version: 
  2318.  Description:
  2319.  TN.228.Swapping MMU Mode - This Technical Note describes how to avoid 
  2320. crashing when swapping into 32-bit mode on a Macintosh II.  Thanks to Jim 
  2321. Berry and Dan Weston for pointing this out. There is a condition where 
  2322. calling _SwapMMUMode to switch the Macintosh II into 32-bit mode can cause 
  2323. the system to crash.  This condition happens in code which is loaded into 
  2324. memory from a resource, or is placed in memory that was allocated by the 
  2325. Memory Manager and is subsequently executed by using the master pointer as 
  2326. the address for a JSR instruction.  This condition includes stand-alone, 
  2327. executable code resources (i.e., 'XCMD', 'XFCN', 'INIT', 'ADBS','FKEY', 
  2328. etc.), but does not apply to standard 'CODE' resources.
  2329.  
  2330.  Name  =  TN.229.A/UX Compatibility
  2331.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.229.A/UX Compatibility
  2332.  Size: 12K         Date: 5/18/91         Version: 
  2333.  Description:
  2334.  #229 A/UX 2.0 Compatibility Guidelines. Revised by Kent Sandvik &  B. 
  2335. Winston Hendrickson. February 1991. Revised by B. Winston Hendrickson & 
  2336. Dave Radcliffe June 1990. Written by Dave Radcliffe April 1989. This 
  2337. Technical Note describes details of the A/UX 2.0 implementation of which 
  2338. developers should be aware, so that their Macintosh applications also work 
  2339. properly under A/UX. Changes since April 1989. This Note formerly 
  2340. described A/UX 1.1 Toolbox Bugs, but has been completely rewritten to cover
  2341. A/UX 2.0 compatibility. Changes since June 1990. Changes due to A/UX 
  2342. 2.0.1, also added some new important issues.
  2343.  
  2344.  Name  =  TN.230.Macintosh SE/30
  2345.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.230.Macintosh SE/30
  2346.  Size: 12K         Date: 2/15/91         Version: 
  2347.  Description:
  2348.  TN.230.Macintosh SE/30 - This Technical Note discusses the Macintosh SE/30,
  2349. items of interest to developers, and sources for further information.
  2350. Changes since April 1989. Corrected an error in the addresses of the video 
  2351. display buffers. The Macintosh SE/30 is a modification of the original 
  2352. Macintosh SE concept.  The SE/30 combines the modularity of the original SE
  2353. with the capabilities of the larger Macintosh IIx.  Although the name 
  2354. implies that the SE/30 borrows many characteristics from the SE, there are 
  2355. actually substantial differences between the two machines, and this Note 
  2356. addresses some of those differences.
  2357.  
  2358.  Name  =  TN.231.Allegro Common Lisp
  2359.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.231.Allegro Common Lisp
  2360.  Size: 16K         Date: 2/15/91         Version: 
  2361.  Description:
  2362.  TN.231.Allegro Common Lisp - This Technical Note describes some known 
  2363. problems and provides solutions to these problems for the Macintosh Allegro
  2364. Common Lisp™ package which is available from Apple Computer, Inc.  You 
  2365. should note, however, that although Apple acquired Coral Software and is 
  2366. selling Macintosh Allegro Common Lisp, Apple is not currently distributing 
  2367. any other products which had been developed or previously sold by Coral 
  2368. Software.
  2369.  
  2370.  Name  =  TN.232.Strip _OpenResFile...
  2371.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.232.Strip _OpenResFile...
  2372.  Size:  5K         Date: 2/15/91         Version: 
  2373.  Description:
  2374.  TN.232.Strip _OpenResFile...- This Technical Note discusses a bug in 
  2375. _OpenResFile and _OpenRFPerm which can cause system crashes and what you 
  2376. can do to avoid this problem. The traps _OpenResFile and _OpenRFPerm call 
  2377. some common code in 128K and later ROMs which was affected by some system 
  2378. patches for early print drivers.  The problem is that the common code 
  2379. checks an attribute bit in the pointer to the string name to see if it is a
  2380. dereferenced handle. 
  2381.  
  2382.  Name  =  TN.233.MF and _SetGrowZone
  2383.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.233.MF and _SetGrowZone
  2384.  Size:  6K         Date: 2/15/91         Version: 
  2385.  Description:
  2386.  TN.233.MF and _SetGrowZone - MultiFinder gives each application its own 
  2387. heap in which to run.  Because it wants to do some fairly tricky memory 
  2388. management, MultiFinder installs its own grow zone procedure (gzProc) in 
  2389. the application heap, and patches _SetGrowZone to store your application’s 
  2390. gzProc in a temporary variable inside of itself.
  2391.  
  2392.  Name  =  TN.234.NuBus Physical Designs
  2393.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.234.NuBus Physical Designs
  2394.  Size: 23K         Date: 2/15/91         Version: 
  2395.  Description:
  2396.  TN.234.NuBus Physical Designs - This Technical Note discusses the possible 
  2397. problems you might run into while designing a NuBus™ card.  It covers some 
  2398. of the specifications which, if not followed, will have problems with 
  2399. current Macintosh machines, and possibly future machines. Changes since 
  2400. June 1989. Added warnings about the no component area and full-size NuBus 
  2401. cards.
  2402.  
  2403.  Name  =  TN.235.Coop with Coprocessor
  2404.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.235.Coop with Coprocessor
  2405.  Size:  7K         Date: 2/15/91         Version: 
  2406.  Description:
  2407.  TN.235.Coop with Coprocessor - The use of the 68881 or 68882 coprocessor is
  2408. usually handled by the SANE package or by a development system’s libraries.
  2409. Some developers may wish to use the coprocessor during special 
  2410. circumstances, such as at interrupt level or installing their own hardware 
  2411. floating point exception handlers.  In these two situations, there are 
  2412. special requirements that must be met.  These requirements will require 
  2413. floating–point assembly code and are discussed in this Technical Note.
  2414. Changes since June 1989. Noted that the new Sound Manager no longer uses 
  2415. floating-point numbers at interrupt time.
  2416.  
  2417.  Name  =  TN.236.Speedy Coprocessor
  2418.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.236.Speedy Coprocessor
  2419.  Size: 27K         Date: 2/15/91         Version: 
  2420.  Description:
  2421.  TN.236.Speedy Coprocessor - This Technical Note presents an overview of the
  2422. 68881 and 68882 math coprocessors, and it covers general information about 
  2423. the chips as well as how using the chips directly can help speed your 
  2424. math–intensive code.
  2425.  
  2426.  Name  =  TN.237.TextEdit Limits Again
  2427.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.237.TextEdit Limits Again
  2428.  Size:  6K         Date: 2/15/91         Version: 
  2429.  Description:
  2430.  TN.237.TextEdit Limits Again - This Technical Note describes another limit 
  2431. on the length of a TextEdit record that was previously undocumented. The 
  2432. TextEdit chapters in Inside Macintosh document the 32K character limit on a
  2433. TextEdit record length.  They do not, however, discuss the more subtle 
  2434. constraint on the size of the destRect.  By definition, the destRect uses 
  2435. integer values for the top-left and bottom-right boundary points.  It is 
  2436. possible to have values too large for the destRect without reaching the 
  2437. teLength limit.
  2438.  
  2439.  Name  =  TN.238.Getting a Full Pathname
  2440.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.238.Getting a Full Pathname
  2441.  Size: 11K         Date: 2/15/91         Version: 
  2442.  Description:
  2443.  TN.238.Getting a Full Pathname - This Technical Note describes how to 
  2444. generate a full pathname, given either a Working Directory ID or a real 
  2445. vRefNum and a DirID. By using the techniques shown in this Note, you can 
  2446. find the full pathname from information such as that returned by Standard 
  2447. File. Changes since June 89. Added a note on how to check for A/UX.  Fixed 
  2448. bug in C version:  BlockMove() parameters were reversed in pStrcpy(); added
  2449. range checking to pStrCat(); changed references from “longint” to “long”.  
  2450. Fixed bug in Pascal and C versions:  Changed fsRtDir to fsRtdirID and made 
  2451. references to gHaveAUX consistent.
  2452.  
  2453.  Name  =  TN.239.Inside Object Pascal
  2454.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.239.Inside Object Pascal
  2455.  Size:  5K         Date: 2/15/91         Version: 
  2456.  Description:
  2457.  TN.239.Inside Object Pascal - This Technical Note briefly explains why 
  2458. Object Pascal and MacApp should only be used to write applications and MPW 
  2459. tools. Although Pascal can be used to write desk accessories, drivers, 
  2460. XCMDs and other types of stand–alone code, and Object Pascal is an 
  2461. extension of Pascal, Object Pascal cannot be used to write anything other 
  2462. than an application.  This limitation is due to the fact that Object Pascal
  2463. method dispatching relies on a valid A5 pointing to a jump table.  Because 
  2464. MacApp is written in Object Pascal, this limitation applies to it as well.
  2465.  
  2466.  Name  =  TN.240.MPW for Non-Mac Systems
  2467.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.240.MPW for Non-Mac Systems
  2468.  Size: 17K         Date: 2/15/91         Version: 
  2469.  Description:
  2470.  TN.240.MPW for Non-Mac Systems - Occasionally there is a need to create 
  2471. routines or programs for non-Macintosh systems.  Such situations can occur 
  2472. if you are writing a driver for a NuBus board, developing a peripheral that
  2473. uses a 68xxx microprocessor, or perhaps targeting a proprietary 68xxx 
  2474. machine (Apple uses MPW for all of its ROM and NuBus development.)
  2475.  
  2476.  Name  =  TN.241.ScriptMgr Pixel2Char
  2477.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.241.ScriptMgr Pixel2Char
  2478.  Size: 10K         Date: 2/15/91         Version: 
  2479.  Description:
  2480.  TN.241.ScriptMgr Pixel2Char - This Technical Note discusses the Pixel2Char 
  2481. routine provided by the Script Manager. Changes since June 1989:  Clarified
  2482. information, corrected minor errors, and replaced the illustration. The 
  2483. leftSide flag in the Pixel2Char routine was inappropriately named, and it 
  2484. should now be called the leadingEdge flag.  The reason for this change is 
  2485. that the value Pixel2Char returns indicates whether a mouse-down occurred 
  2486. on the leading edge of a character, which is not always the left side.  (In
  2487. Arabic or Hebrew, both of which are right-to-left scripts, the mouse-down 
  2488. occurs on the right side of the character.)
  2489.  
  2490.  Name  =  TN.242.Fonts and the Script Mgr
  2491.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.242.Fonts and the Script Mgr
  2492.  Size: 12K         Date: 2/15/91         Version: 
  2493.  Description:
  2494.  TN.242.Fonts and the Script Mgr - The traps _FontScript, _IntlScript, and 
  2495. _Font2Script all use a font family ID to determine the script interface 
  2496. system code that they return.  This Note describes the process, the way the
  2497. Script Manager renumbers the Chicago font for non-Roman systems, and the 
  2498. equation for calculating Script IDs from font family IDs.
  2499.  
  2500.  Name  =  TN.243.Script Mgr Variables
  2501.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.243.Script Mgr Variables
  2502.  Size: 24K         Date: 2/15/91         Version: 
  2503.  Description:
  2504.  TN.243.Script Mgr Variables - The Script Manager maintains a number of 
  2505. global variables which can be read with the routine _GetEnvirons.  These 
  2506. variables can be set by a corresponding routine, _SetEnvirons.  In 
  2507. addition, each script interface system maintains variables of its own.  
  2508. These are referred to as local variables in Inside Macintosh, Volume V-293,
  2509. The Script Manager, and are read by _GetScript and set by _SetScript.
  2510.  
  2511.  Name  =  TN.244.Color Cursor Cursing
  2512.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.244.Color Cursor Cursing
  2513.  Size:  4K         Date: 2/15/91         Version: 
  2514.  Description:
  2515.  TN.244.Color Cursor Cursing - Working with color cursors you create from 
  2516. scratch can cause headaches.  This Technical Note may help a bit.
  2517. Changes since June 1989:  Added a warning about purgeable 'clut' resources.
  2518. If you’re building an application that creates color cursors, you may 
  2519. encounter some quirks present in Color QuickDraw that manifest themselves 
  2520. in hard-to-understand ways.
  2521.  
  2522.  Name  =  TN.245.Font Family Numbers
  2523.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.245.Font Family Numbers
  2524.  Size:  9K         Date: 2/15/91         Version: 
  2525.  Description:
  2526.  TN.245.Font Family Numbers - This Technical Note discusses the range of 
  2527. numbers available for identifying font families, how they are allocated 
  2528. among script systems, what numbers should be used for fonts that were 
  2529. designed to be used as a tool in an application, and Apple’s font 
  2530. registration program.
  2531.  
  2532.  Name  =  TN.246.Mixing HFS and C I/O
  2533.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.246.Mixing HFS and C I/O
  2534.  Size:  8K         Date: 2/15/91         Version: 
  2535.  Description:
  2536.  TN.246.Mixing HFS and C I/O - This Technical Note discusses the problem of 
  2537. mixing calls to the Macintosh file system with calls to MPW C library file 
  2538. I/O routines. Problems with Communication Between HFS and C Frequently, 
  2539. developers want to use both Macintosh file I/O and C file I/O.  Developers 
  2540. who do this must keep in mind that they are combining two distinct file 
  2541. representations (the Macintosh and ANSI C).  The only limitation on mixing 
  2542. HFS and C I/O functions is that they cannot be mixed on the same open file.
  2543. There are three reasons why this cannot be done.
  2544.  
  2545.  Name  =  TN.247.DeskHook and INIT Evils
  2546.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.247.DeskHook and INIT Evils
  2547.  Size:  8K         Date: 2/15/91         Version: 
  2548.  Description:
  2549.  TN.247.DeskHook and INIT Evils - This Technical Note discusses INIT evils, 
  2550. the foremost of which deals with clearing DeskHook and DragHook at INIT 
  2551. time Changes since August 1989. Added warning about clearing DragHook.If 
  2552. you’ve survived the typical DTS Tirade* and still feel the need to display 
  2553. a dialog box or window in an INIT, you need to be aware of a problem which 
  2554. exists on Macintoshes earlier than the Macintosh II (remember those?).  
  2555. There is a low-memory global named DeskHook ($A6C), which can contain a 
  2556. pointer to a routine responsible for painting the Macintosh desktop.
  2557.  
  2558.  Name  =  TN.248.DAs in Need of Time
  2559.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.248.DAs in Need of Time
  2560.  Size:  9K         Date: 2/15/91         Version: 
  2561.  Description:
  2562.  TN.248.DAs in Need of Time - This Technical Note describes a few 
  2563. complications which rear their rather ugly little heads when a desk 
  2564. accessory or driver needs periodic time.  It also presents a few solutions 
  2565. to work around these problems and make life easier, at least periodically.
  2566. Changes since August 1989:  Corrected _BitClr and _BitSet  examples.  Okay,
  2567. I admit it.  I was having too good of a time when I wrote the original Note
  2568. and messed up the bit manipulations at the end.  My vision was blurred; I 
  2569. was in no condition to see those tiny little things.
  2570.  
  2571.  Name  =  TN.249.Opening Serial Driver
  2572.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.249.Opening Serial Driver
  2573.  Size:  5K         Date: 2/15/91         Version: 
  2574.  Description:
  2575.  TN.249.Opening Serial Driver - This Technical Note describes the 
  2576. recommended, safe, and compatible way to open the Macintosh serial driver, 
  2577. and it explains why you should no longer check for port availability.
  2578. Changes since October 1989:  Corrected syntax errors in the sample code.
  2579.  
  2580.  Name  =  TN.250.AppleTalk Phase 2
  2581.  Path =  AMUG CD:Files:MacTechNotes:TN.201.250:TN.250.AppleTalk Phase 2
  2582.  Size: 33K         Date: 2/15/91         Version: 
  2583.  Description:
  2584.  TN.250.AppleTalk Phase 2 - This Technical Note discusses the new features 
  2585. and calls available with AppleTalk Phase 2. Changes since August 1989. 
  2586. Incorporated the ClosePrep and CancelClosePrep transitions and the new 
  2587. control calls to the .MPP driver.AppleTalk Phase 2 is only available on 
  2588. Macintosh Plus or later Macintosh platforms, and it requires the 
  2589. installation of AppleTalk file V53, or greater.  Both EtherTalk 2.0 and 
  2590. TokenTalk 2.0 automatically install this AppleTalk file.  Developer 
  2591. Technical Support can supply the Phase 2 drivers for development use; 
  2592. however, if you need to include the Phase 2 drivers in your product, you 
  2593. must license them from Software Licensing.
  2594.  
  2595.  Name  =  TN.251.Safe cdevs
  2596.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.251.Safe cdevs
  2597.  Size:  6K         Date: 2/15/91         Version: 
  2598.  Description:
  2599.  TN.251.Safe cdevs - This Technical Note describes a potential problem with 
  2600. Control Panel devices (cdevs) that contain EditText fields and presents a 
  2601. way to avoid it. The Control Panel chapter in Inside Macintosh, Volume 5 
  2602. describes, in detail, how run-time errors are handled by the Control Panel 
  2603. and a cdev.  There is, however, a potential problem with cdevs that contain
  2604. EditText items that this chapter does not cover.
  2605.  
  2606.  Name  =  TN.252.Plotting Small Icons
  2607.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.252.Plotting Small Icons
  2608.  Size: 11K         Date: 2/15/91         Version: 
  2609.  Description:
  2610.  TN.252.Plotting Small Icons - This Technical Note discusses the 'SICN' 
  2611. resource format and how to plot one in a GrafPort. Changes since August 
  2612. 1989. Corrected errors in the Pascal code and spruced up the rest.
  2613.  
  2614.  Name  =  TN.253.SICNs in Menus
  2615.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.253.SICNs in Menus
  2616.  Size:  8K         Date: 2/15/91         Version: 
  2617.  Description:
  2618.  TN.253.SICNs in Menus - This Technical Note describes a new facility of the
  2619. Menu Manager which allows you to add reduced icons and small icons to your 
  2620. menus. Changes since August 1989. Corrected references to SetItemCmd from 
  2621. SetItmCmd.
  2622.  
  2623.  Name  =  TN.254.Portable PDS Development
  2624.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.254.Portable PDS Development
  2625.  Size: 16K         Date: 2/15/91         Version: 
  2626.  Description:
  2627.  TN.254.Portable PDS Development - The Technical Note describes the unique 
  2628. aspects of the Macintosh Portable Processor Direct Slot (PDS), including 
  2629. the severe limitations in its use. Changes since October 1989. Corrected 
  2630. PDS pin and signal descriptions in Tables 2 and 3.
  2631.  
  2632.  Name  =  TN.255.Portable ROM Expansion
  2633.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.255.Portable ROM Expansion
  2634.  Size: 19K         Date: 2/15/91         Version: 
  2635.  Description:
  2636.  TN.255.Portable ROM Expansion - This Technical Note explains the practice 
  2637. of and theory behind compatible use of the expansion ROM in the Macintosh 
  2638. Portable. Due to the unique nature of the Macintosh Portable, developers 
  2639. now have the ability to add ROM to the Macintosh.  To provide for 
  2640. compatible shared use of this ROM space with Apple and other developers, 
  2641. this Note describes the feature and suggests methods of shared 
  2642. implementation.
  2643.  
  2644.  Name  =  TN.256.Stand-Alone Code.cpt
  2645.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.256.Stand-Alone Code.cpt
  2646.  Size:131K         Date: 2/15/91         Version: 
  2647.  Description:
  2648.  TN.256.Stand-Alone Code.cpt - This Technical Note discusses many of the 
  2649. issues related to stand-alone code modules.  This Note is by no means a 
  2650. completely original work, as the author borrows freely from the work of 
  2651. Keith Rollin, Mark Baumwell, and Jim Friedlander. Changes since October 
  2652. 1989. Completely rewritten to broaden the discussion of stand-alone code 
  2653. modules and include a greater scope of examples.  Incorporates Technical 
  2654. Notes #110, MPW: Writing Stand-Alone Code and #145, Debugger FKEY.
  2655.  
  2656.  Name  =  TN.257.Slot Interrupt Priority
  2657.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.257.Slot Interrupt Priority
  2658.  Size:  3K         Date: 2/15/91         Version: 
  2659.  Description:
  2660.  TN.257.Slot Interrupt Priority - This Technical Note describes the way 
  2661. interrupt priorities are scheduled, which corrects the description of slot 
  2662. interrupt queue priorities in the Device Manager chapter of Inside 
  2663. Macintosh, Volume V-426.
  2664.  
  2665.  Name  =  TN.258.Our Checksum Bounced
  2666.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.258.Our Checksum Bounced
  2667.  Size:  6K         Date: 2/15/91         Version: 
  2668.  Description:
  2669.  TN.258.Our Checksum Bounced - This Technical Note discusses a fix to a SCSI
  2670. Manager bug which concerns all developers working with SCSI and NuBus™ 
  2671. device drivers.
  2672.  
  2673.  Name  =  TN.259.Old Style Colors
  2674.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.259.Old Style Colors
  2675.  Size:  8K         Date: 2/15/91         Version: 
  2676.  Description:
  2677.  TN.259.Old Style Colors - This Technical Note covers limitations of the 
  2678. original Macintosh color model (eight-color) which Inside Macintosh, Volume
  2679. I-173, QuickDraw does not document. Changes since October 1989. Added 
  2680. definitions of the old-style constants.
  2681.  
  2682.  Name  =  TN.260.NuBus Power Limits
  2683.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.260.NuBus Power Limits
  2684.  Size:  8K         Date: 2/15/91         Version: 
  2685.  Description:
  2686.  TN.260.NuBus Power Limits - This Technical Note discusses a very real power
  2687. limit for NuBus™ expansion cards and warns developers to heed this limit 
  2688. lest they want users trashing their machines by overextending the Macintosh
  2689. power supply.
  2690.  
  2691.  Name  =  TN.261.Cache As Cache Can
  2692.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.261.Cache As Cache Can
  2693.  Size: 10K         Date: 2/15/91         Version: 
  2694.  Description:
  2695.  TN.261.Cache As Cache Can - This Technical Note documents some new traps 
  2696. for manipulating the data and instruction caches on 68030-based Macintosh 
  2697. models and describes the MMU mapping set up by the ROMs for NuBus™ cards. 
  2698. The Motorola MC68030 CPU used by the Macintosh IIx, IIcx, IIci, and SE/30 
  2699. includes a data cache, an instruction cache, and a MMU (Memory Management 
  2700. Unit).  This Note describes the problems that data caching can cause, 
  2701. Apple’s solution to this problem, and additional information about MMU 
  2702. mapping on MC68030-equipped machines.
  2703.  
  2704.  Name  =  TN.262.Control & Status Calls
  2705.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.262.Control & Status Calls
  2706.  Size:  5K         Date: 2/15/91         Version: 
  2707.  Description:
  2708.  TN.262. This Technical Note discusses situations under which high-level 
  2709. Status calls do not work correctly and PBStatus calls should be made 
  2710. instead. Changes since February 1990, Information has been added describing
  2711. similar problems with high-level Control calls.
  2712.  
  2713.  Name  =  TN.263.International Canceling
  2714.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.263.International Canceling
  2715.  Size: 11K         Date: 2/15/91         Version: 
  2716.  Description:
  2717.  TN.263.International Canceling - This Technical Note describes potential 
  2718. problems canceling operations with the Command-period key sequence and 
  2719. international keyboards.
  2720.  
  2721.  Name  =  TN.264.Date & Time Problems
  2722.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.264.Date & Time Problems
  2723.  Size:  6K         Date: 2/15/91         Version: 
  2724.  Description:
  2725.  TN.264.Date & Time Problems - This Technical Note describes known bugs and 
  2726. features in and solutions to the date and time routines introduced in 
  2727. Script Manager 2.0. From the beginning, the Macintosh’s ability to handle 
  2728. dates was limited to a rather small range—slightly more than a century.  
  2729. Enhancements to the Script Manager, introduced with System Software 6.0, 
  2730. extended this range to ±35,000 years.  Unfortunately, there is a minor bug 
  2731. in one of the crucial calls and a “feature” that looks like a bug in 
  2732. another.
  2733.  
  2734.  Name  =  TN.265.Pascal to C PROC Parms
  2735.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.265.Pascal to C PROC Parms
  2736.  Size: 16K         Date: 2/15/91         Version: 
  2737.  Description:
  2738.  TN.265.Pascal to C PROC Parms - This Technical Note talks about nested 
  2739. procedures and PROCEDURE parameters in Pascal and what to do when 
  2740. converting them into C or C++. Changes since February 1990. Fixed some type
  2741. coercion problems.
  2742.  
  2743.  Name  =  TN.266.Pointing Device Struct
  2744.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.266.Pointing Device Struct
  2745.  Size: 18K         Date: 2/15/91         Version: 
  2746.  Description:
  2747.  TN.266.Pointing Device Struct - This Technical Note specifies a memory data
  2748. structure for use by absolute pointing devices; it was developed for the 
  2749. Apple Desktop Bus (ADB) but could also be used for devices using serial 
  2750. input.  Generally, this data structure is created and updated by the 
  2751. pointing device’s driver and read by either an application or the system 
  2752. cursor rendering software.
  2753.  
  2754.  Name  =  TN.267.TE Technicalities
  2755.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.267.TE Technicalities
  2756.  Size:  5K         Date: 2/15/91         Version: 
  2757.  Description:
  2758.  TN.267.TE Technicalities - This Technical Note discusses some areas in 
  2759. TextEdit that have not previously been clearly documented.
  2760.  
  2761.  Name  =  TN.268.MacinTalk Final Chapter
  2762.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.268.MacinTalk Final Chapter
  2763.  Size:  6K         Date: 2/15/91         Version: 
  2764.  Description:
  2765.  TN.268.MacinTalk Final Chapter - This Technical Note discusses the 
  2766. MacinTalk software product. The Introduction. For the introduction of the 
  2767. Macintosh computer, it was decided (by the powers formerly in charge) that 
  2768. such a computer would need something very special to make it a unique 
  2769. event.  To aid in this concept, a third-party company was contracted to 
  2770. write a speech synthesizer which would allow the Macintosh computer to 
  2771. introduce itself.  The contract was signed, and the work begun.
  2772.  
  2773.  Name  =  TN.272.Sony Drives For You
  2774.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.272.Sony Drives For You
  2775.  Size: 25K         Date: 2/15/91         Version: 
  2776.  Description:
  2777.  TN.272.Sony Drives For You - This Technical Note discusses the Sony driver 
  2778. control and status calls that are available on the Macintosh.
  2779. Changes since April 1990. Corrected Figure 2, since the Return Physical 
  2780. Drive Icon (csCode = 21) returns an error message instead of an icon on the
  2781. Macintosh Plus. This Note covers the external (software) interface to the 
  2782. Sony 3.5” floppy disk and Hard Disk 20 driver.  It describes all the new 
  2783. calls, including those for Modified Frequency Modulation (MFM) driver 
  2784. versions.  This discussion assumes a general understanding of the operation
  2785. of Macintosh drivers.
  2786.  
  2787.  Name  =  TN.273.SCSI Termination
  2788.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.273.SCSI Termination
  2789.  Size: 11K         Date: 2/15/91         Version: 
  2790.  Description:
  2791.  TN.273.SCSI Termination - This Technical Note discusses SCSI termination on
  2792. the Macintosh, including the new rules of termination which are necessary 
  2793. with the advent of the high-speed Macintosh IIfx. Changes since April 1990.
  2794. Fixed a typographical error which represented µF as mFWhy Is The Terminator
  2795. After Sarah Connor? One of the features of the Macintosh IIfx is a new SCSI
  2796. chip that provides SCSI data transfer rates up to three megabytes per 
  2797. second, faster than any existing Macintosh model.  To achieve these 
  2798. transfer rates, components on the Macintosh IIfx logic board are smaller 
  2799. and faster, requiring different termination configurations than previous 
  2800. Macintosh models.
  2801.  
  2802.  Name  =  TN.276.Gimmie Depth or Death
  2803.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.276.Gimmie Depth or Death
  2804.  Size:  8K         Date: 2/15/91         Version: 
  2805.  Description:
  2806.  TN.276.Gimmie Depth or Death - This Technical Note describes two new system
  2807. calls that allow an application to change the depth and flags for a given 
  2808. device and also check whether a device supports a particular depth and 
  2809. flags setting.  Apple provides these calls to give developers a better way 
  2810. to help users make changes when they consider it appropriate.  Abusive use 
  2811. of these calls is a sure way to guarantee that the Thought Police come 
  2812. after you to confiscate your Macintoshes, your stock of Mountain Dew®, and 
  2813. your Technical Notes binder.  This Note assumes familiarity with Inside 
  2814. Macintosh, Volume V, Graphics Devices.
  2815.  
  2816.  Name  =  TN.277.Time Space _CopyBits
  2817.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.277.Time Space _CopyBits
  2818.  Size: 25K         Date: 2/15/91         Version: 
  2819.  Description:
  2820.  TN.277.Time Space _CopyBits - This Technical Note describes the various 
  2821. factors that can influence the speed of _CopyBits so that developers can 
  2822. set up conditions to achieve the best performance for the particular 
  2823. situation.
  2824.  
  2825.  Name  =  TN.278._PBClose the Barn Door
  2826.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.278._PBClose the Barn Door
  2827.  Size:  5K         Date: 2/15/91         Version: 
  2828.  Description:
  2829.  TN.278._PBClose the Barn Door - You may get the idea when implementing 
  2830. device drivers that _PBClose is superfluous.  After all, if you have a 
  2831. resident driver for a NuBus™ video board, the only time your driver is not 
  2832. needed is if the operating system is going away.  It might seem that 
  2833. nothing important can happen after the operating system goes away, so why 
  2834. bother with _PBClose?  Well, it turns out a lot can happen, and this Note 
  2835. tells you why it is important to implement a Close (_PBClose) routine.
  2836.  
  2837.  Name  =  TN.279.LDEF Madness
  2838.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.279.LDEF Madness
  2839.  Size:  6K         Date: 2/15/91         Version: 
  2840.  Description:
  2841.  TN.279.LDEF Madness - This Technical Note uncovers a problem with writing 
  2842. Pascal list definition procedures and two (yes, count  ’em, two) different 
  2843. methods to work around it.
  2844.  
  2845.  Name  =  TN.280.MacApp Bugs 3.0
  2846.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.280.MacApp Bugs 3.0
  2847.  Size: 51K         Date: 2/15/91         Version: 
  2848.  Description:
  2849.  TN.280.MacApp Bugs 3.0 - This Technical Note describes the latest 
  2850. information about bugs or unexpected “features” in MacApp.  Where possible,
  2851. solutions and fixes are noted.  DTS intends this Note to be a complete list
  2852. of all known bugs in MacApp and will update it as old bugs are fixed or new
  2853. ones appear.  If you have encountered a bug or unexpected feature which is 
  2854. not described here, be sure to let DTS know.  Specific code examples and 
  2855. suggested fixes are useful.
  2856.  
  2857.  Name  =  TN.281.Multiple Inheritance
  2858.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.281.Multiple Inheritance
  2859.  Size: 10K         Date: 2/15/91         Version: 
  2860.  Description:
  2861.  TN.281.Multiple Inheritance - This Technical Note answers a common question
  2862. about MPW C++:  “Why doesn’t HandleObject support multiple inheritance?”  
  2863. It does this by giving a brief overview of how multiple inheritance is 
  2864. implemented in MPW C++.
  2865.  
  2866.  Name  =  TN.282.Smear Tactics
  2867.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.282.Smear Tactics
  2868.  Size:  5K         Date: 2/15/91         Version: 
  2869.  Description:
  2870.  TN.282.Smear Tactics - This Technical Note discusses a feature of the 
  2871. current Macintosh hardware which will not be supported in the future.  
  2872. Macintosh hardware developers and driver writers should be aware of this 
  2873. limitation as it affects current and future products.
  2874.  
  2875.  Name  =  TN.283.A/UX System Calls
  2876.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.283.A/UX System Calls
  2877.  Size: 21K         Date: 5/18/91         Version: 
  2878.  Description:
  2879.  #283 A/UX System Calls From Macintosh Software. Revised by Anathan 
  2880. Srinivasan & Kent Sandvik January 1991. Written by Rob M. Smith, B. W. 
  2881. Hendrickson & Dave Radcliffe August 1990. This Technical Note discusses how
  2882. to make A/UX system calls from applications developed in the Macintosh 
  2883. environment.  This is useful to anyone porting an existing Macintosh driver
  2884. or application to work on A/UX as well. Changes since August 1990. Added 
  2885. information about how to make use of fork() system calls under MultiFinder,
  2886. as well as how various A/UX system calls behave under the MultiFinder 
  2887. emulation mode. 
  2888.  
  2889.  Name  =  TN.284.IOP Diffs Under A/UX
  2890.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.284.IOP Diffs Under A/UX
  2891.  Size:  6K         Date: 2/15/91         Version: 
  2892.  Description:
  2893.  TN.284.IOP Diffs Under A/UX - This Technical Note discusses use of the 
  2894. Macintosh IIfx IOP-based serial driver under A/UX, especially under certain
  2895. error conditions which cause it to perform differently than documented in 
  2896. termio(7).  (The SCC driver, used on non-IOP machines, conforms to 
  2897. termio(7) in all cases.)  References to “the driver” herein refer to the 
  2898. IOP-based serial driver, seriop.c.
  2899.  
  2900.  Name  =  TN.285.GetPhysical
  2901.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.285.GetPhysical
  2902.  Size: 20K         Date: 5/18/91         Version: 
  2903.  Description:
  2904.  #285 Coping With VM and Memory Mappings. Revised by Craig Prouse April 
  2905. 1991 Written by Craig Prouse February 1991. The purpose of this Note is 
  2906. twofold.  First, it describes in detail how to use the GetPhysical routine.
  2907. This routine is critical to the support of alternate bus masters on certain
  2908. machines without Virtual Memory (VM) and all machines with VM. Included is
  2909. an ancillary discussion of several closely-related VM routines. Second, it
  2910. reiterates a number of issues important to VM compatibility and elucidates 
  2911. some of the deeper VM issues of which specialized developers should be 
  2912. aware.
  2913.  
  2914.  Name  =  TN.286.GPi The Reliable Way
  2915.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.286.GPi The Reliable Way
  2916.  Size:  9K         Date: 4/28/91         Version: 
  2917.  Description:
  2918.  #286 - The Serial General-Purpose Input (GPi). Written by Craig Prouse 
  2919. February 1991. This Technical Note discusses the latest supported methods 
  2920. for reading, validating, and configuring the GPi serial input across all 
  2921. members of the Macintosh family.
  2922.  
  2923.  Name  =  TN.287.Spare A Block
  2924.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.287.Spare A Block
  2925.  Size: 13K         Date: 4/28/91         Version: 
  2926.  Description:
  2927.  #287 Hey Buddy, Can You Spare A Block? Written by Philip D. L. Koch, Jim 
  2928. Reekes, & Kenny Tung February 1991. This Technical Note discusses a new 
  2929. feature of the System Software 7.0 Disk Initialization Package—bad block 
  2930. sparing.
  2931.  
  2932.  Name  =  TN.288.NuBus Block Transfers
  2933.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.288.NuBus Block Transfers
  2934.  Size: 11K         Date: 4/28/91         Version: 
  2935.  Description:
  2936.  #288 NuBus Block Transfer Mode sResource Entries. Written by Guillermo 
  2937. Ortiz February 1991. This Technical Note describes the sResource entries 
  2938. needed in a declaration ROM to inform NuBus™ masters when a board is 
  2939. capable of receiving or sending block transfers.
  2940.  
  2941.  Name  =  TN.289._CopyBits & GC QuickDraw
  2942.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.289._CopyBits & GC QuickDraw
  2943.  Size:  7K         Date: 4/28/91         Version: 
  2944.  Description:
  2945.  #289 Deaccelerated _CopyBits & 8•24 GC QuickDraw. Written by Guillermo A. 
  2946. Ortiz February 1991. This Technical Note discusses conditions that may 
  2947. cause _CopyBits to slow down when QuickDraw acceleration is on via the 
  2948. Apple 8•24 GC Display Card.
  2949.  
  2950.  Name  =  TN.290.WDEF and wDraw
  2951.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.290.WDEF and wDraw
  2952.  Size:  4K         Date: 4/28/91         Version: 
  2953.  Description:
  2954.  #290 Custom WDEF and wDraw. Written by Vincent Lo February 1991. This 
  2955. Technical Note explains why custom window definition functions may not
  2956. respond to a wDraw message from the system (if you follow the documentation
  2957. in Inside Macintosh).
  2958.  
  2959.  Name  =  TN.291.CMOS On LC PDS
  2960.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.291.CMOS On LC PDS
  2961.  Size:  4K         Date: 4/28/91         Version: 
  2962.  Description:
  2963.  #291 CMOS On Macintosh LC PDS. Written by Paul Baker & Rich Collyer 
  2964. February 1991. This Technical Note provides PDS card developers with some 
  2965. important information about making PDS cards for the Macintosh LC.
  2966.  
  2967.  Name  =  TN.292.Bus Error Handlers
  2968.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.292.Bus Error Handlers
  2969.  Size: 11K         Date: 4/28/91         Version: 
  2970.  Description:
  2971.  #292 Bus Error Handlers. Written by Wayne Meretsky & Rich Collyer February 
  2972. 1991. This Technical Note discusses bus errors and how applications and 
  2973. drivers should deal with them.
  2974.  
  2975.  Name  =  TN.293.Excellent CD Notes
  2976.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.293.Excellent CD Notes
  2977.  Size: 13K         Date: 4/28/91         Version: 
  2978.  Description:
  2979.  #293 Most Excellent CD Notes. Written by James Beninghaus February 1991
  2980. This Technical Note discusses issues concerning the use of the AppleCD SC 
  2981. drive, the Apple CD-ROM device driver, and the Foreign File Access software
  2982. extension.
  2983.  
  2984.  Name  =  TN.294.My PIdle Procedure
  2985.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.294.My PIdle Procedure
  2986.  Size:  5K         Date:12/09/91         Version: 
  2987.  Description:
  2988.  #294 - Me And My pIdle Proc (or how to let users know what’s going on 
  2989. during print time…) Written by Pete “Luke” Alexander    April 1991. This 
  2990. Technical Note discusses how to defensively program a pIdle procedure to 
  2991. work with the majority of print drivers in existence today, and how to 
  2992. install it at print time.
  2993.  
  2994.  Name  =  TN.295.Feeder Fodder
  2995.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.295.Feeder Fodder
  2996.  Size:  9K         Date:12/09/91         Version: 
  2997.  Description:
  2998.  #295 - Feeder Fodder. Written by Zz Zimmerman    April 1991. This Technical 
  2999. Note discusses the new Feeder button available in the 6.1, and 7.0 versions
  3000. of the LaserWriter driver. This Feeder button mechanism allows developers 
  3001. to insert code into the LaserWriter driver to support a sheet feeder 
  3002. connected to a LaserWriter. This Note provides a description of the button,
  3003. as well as information required to implement one.
  3004.  
  3005.  Name  =  TN.296.LoDownOnDownloading
  3006.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.296.LoDownOnDownloading
  3007.  Size:  6K         Date:12/09/91         Version: 
  3008.  Description:
  3009.  #296 - The Lo Down on Dictionary Downloading. Written by:    Zz Zimmerman    
  3010. April 1991. This technical note discusses a method for downloading 
  3011. PostScript dictionaries automatically using the LaserWriter driver. It will
  3012. also provide the format and use of the PREC(103) resource. It will also 
  3013. describe some problems with the now obsolete PREC(201) resource. If you are
  3014. using PostScript dictionaries, or either of these resources, you should 
  3015. definitely read this note.
  3016.  
  3017.  Name  =  TN.298 Color, Windows and 7.0
  3018.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.298 Color, Windows and 7.0
  3019.  Size: 18K         Date:12/09/91         Version: 
  3020.  Description:
  3021.  #298 - Color, Windows and 7. Written by Guillermo A. Ortiz    January 1991
  3022. System 7.0 introduces a new look for the Macintosh Desktop. In order to 
  3023. implement those changes 'wctb' and 'cctb' resources have changed in both 
  3024. form and use; it is now up to developers to take the lead and help the new 
  3025. standard work. The task can be divided in two main areas in most cases all 
  3026. developers have to do is to stick to the system resources in order to 
  3027. provide a homogeneous feel to the user; developers in this group need only 
  3028. make sure the old 'wctb's are disposed of and that all dialogs and windows 
  3029. are based on CGrafPorts.  
  3030.  
  3031.  Name  =  TN.300.My Life as a ... (MW)
  3032.  Path =  AMUG CD:Files:MacTechNotes:TN.251.300:TN.300.My Life as a ... (MW)
  3033.  Size: 12K         Date: 9/28/91         Version: 
  3034.  Description:
  3035.  Technical Note #300 - This Technical Note discusses the PascalObject base 
  3036. class, used, for instance, with MacApp programming. The Technical Note 
  3037. describes how to write PascalObject derived classes that work with both 
  3038. Object Pascal and C++ code linking. It also describes the current 
  3039. restrictions and bugs with writing C++ code using PascalObject as the base 
  3040. class. This Technical Note is based on MacApp 2.0(.1), MPW 3.2 and MPW C++ 
  3041. 3.1.
  3042.  
  3043.  Name  =  TN.301.File Sharing and Shared
  3044.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.301.File Sharing and Shared
  3045.  Size:  9K         Date: 9/28/91         Version: 
  3046.  Description:
  3047.  Technical Note #301 - This Note describes modifications to the existing 
  3048. File Manager routines, PBGetCatInfo, PBHGetDirAccess, PBHSetDirAccess, 
  3049. PBHSetFLock and PBHRstFLock, when used on volumes prepared by Macintosh 
  3050. System 7 File Sharing.
  3051.  
  3052.  Name  =  TN.302.Help For Movable(MW)
  3053.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.302.Help For Movable(MW)
  3054.  Size:  6K         Date: 9/28/91         Version: 
  3055.  Description:
  3056.  Technical Note #302 - This Technical Note describes the process by which an
  3057. application can remap the Help Manager 'hmnu' resource while a movable 
  3058. modal dialog box is on the screen. The Help Manager handles the case for 
  3059. modal dialog boxes but punts in the case of movable modal dialog boxes. The
  3060. following information will help you get the correct interface performance.
  3061.  
  3062.  Name  =  TN.303.PurgeProc Note(MW)
  3063.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.303.PurgeProc Note(MW)
  3064.  Size:  6K         Date: 9/28/91         Version: 
  3065.  Description:
  3066.  Technical Note #303 - This Technical Note discusses the use of the 
  3067. purgeProc field of an application’s heap zone. Most applications will never
  3068. need to use a purgeProc. However, if your application requires the ability 
  3069. to maintain purgeable handles containing data, or you need to have special 
  3070. notification when a certain handle is purged, a purgeProc might help you.
  3071.  
  3072.  Name  =  TN.304.Update Perils(MW)
  3073.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.304.Update Perils(MW)
  3074.  Size: 14K         Date: 9/28/91         Version: 
  3075.  Description:
  3076.  Technical Note #304 - This Technical Note discusses potential problems when
  3077. pending update events for windows behind modal dialogs are not serviced.  
  3078. This note also documents some new System 7 Dialog Manager calls.
  3079.  
  3080.  Name  =  TN.305.PBShare & PBUnshare
  3081.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.305.PBShare & PBUnshare
  3082.  Size:  9K         Date:12/09/91         Version: 
  3083.  Description:
  3084.  #305 PBShare, PBUnshare, and PBGetUGEntry - Written by Jim Luther    Jan 
  3085. 1992. This Technical Note documents three new File Manager routines 
  3086. available on shared local volumes. The Pascal glue code, C glue code, and 
  3087. the assembler equates and macros for the calls are included in this note.
  3088.  
  3089.  Name  =  TN.306
  3090.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.306
  3091.  Size:  6K         Date:12/09/91         Version: 
  3092.  Description:
  3093.  #306Drawing Icons the System 7 Way - This Technical Note describes how to 
  3094. use the built-in System 7 icon drawing utility. Use this information in 
  3095. order to better conform to the System 7 visual human interface. The Icon 
  3096. Utilities comprise many more than the two calls listed below. Due to 
  3097. scheduling difficulties and a tight time frame, the entire set of calls 
  3098. could not be documented for this release of the Technical Note. This Note 
  3099. will be expanded for the next batch.
  3100.  
  3101.  Name  =  TN.307.C++ inline
  3102.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.307.C++ inline
  3103.  Size:  7K         Date:12/31/91         Version: 
  3104.  Description:
  3105.  Technical note #307 - This Technical Note discusses MPW C++’s use of 
  3106. inline, when an inline defined statement is not inlined at all by the 
  3107. compiler, and segmentation issues regarding member functions defined as 
  3108. inline that are not inlined by the compiler.
  3109.  
  3110.  Name  =  TN.308.pslt resource
  3111.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.308.pslt resource
  3112.  Size:  7K         Date:12/31/91         Version: 
  3113.  Description:
  3114.  Technical note #308 - One of the new resources that can be very helpful to 
  3115. some NuBus™ developers is the 'pslt' resource. The only problem is that the
  3116. resource is not documented. This Technical Note takes care of the 
  3117. documentation problem.
  3118.  
  3119.  Name  =  TN.309.SourceRoutes
  3120.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.309.SourceRoutes
  3121.  Size:  8K         Date:12/31/91         Version: 
  3122.  Description:
  3123.  Technical Not #309 - This Technical Note discusses source routing and its 
  3124. possible implementation in token ring link layers.
  3125.  
  3126.  Name  =  TN.310.ResinCDEV.cpt
  3127.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.310.ResinCDEV.cpt
  3128.  Size:  5K         Date: 2/23/92         Version: 
  3129.  Description:
  3130.  TN 310 - This Technical Note discusses the new 'fwst' resource added to 
  3131. some Control Panels under System 7.0 and later. By C. K. Haun. System 7 
  3132. changes many of the rules for Control Panels (cdevs), and these changes are
  3133. very well documented in Chapter 10 of Inside Macintosh Volume VI. However, 
  3134. there is one thing not documented in IM VI that you need to be aware of, as
  3135. it could cause you confusion and frustration— the 'fwst' resource.
  3136.  
  3137.  Name  =  TN.311What's New in Phase 2.cpt
  3138.  Path =  AMUG CD:Files:MacTechNotes:TN.301.350:TN.311What's New in Phase 2.cpt
  3139.  Size: 30K         Date: 2/23/92         Version: 
  3140.  Description:
  3141.  TN 311 - This Technical Note discusses the new features of AppleTalk 
  3142. available for System 7.0 and AppleTalk version 57. The new features include
  3143. support for the Flagship Naming Service and the AppleTalk Multiple Node 
  3144. Architecture. We present the Multiple Node Architecture and discuss the new
  3145. calls available to applications. We also discuss the impact of the new 
  3146. architecture on AppleTalk Device files (ADEVs), and the changes necessary 
  3147. to make them multinode compatible. Finally, we discuss the Flagship Naming 
  3148. Service, along with the new AppleTalk Transitions. The new transitions 
  3149. notify a process of changes to the Flagship name, network cable range, 
  3150. router status, and processor speed.
  3151.  
  3152.  Name  =  TN Indices 10-90.dd
  3153.  Path =  AMUG CD:Files:MacTechNotes:TN Indices 10-90.dd
  3154.  Size:116K         Date: 2/15/91         Version: 
  3155.  Description:
  3156.  TN Indices 10-90.dd is the Technotes indices from 10-91.
  3157.  
  3158.  Name  =  Technical Notes Stack Fonts
  3159.  Path =  AMUG CD:Files:MacTechNotes:Technical Notes Stack:Technical Notes Stack Fonts
  3160.  Size: 18K         Date: 2/15/91         Version: 
  3161.  Description:
  3162.  TN Stack Fonts contains the necessary fonts for running your TN Stack.
  3163.  
  3164.  Name  =  Tech Note Index.sea
  3165.  Path =  AMUG CD:Files:MacTechNotes:Technical Notes Stack:Tech Note Index.sea
  3166.  Size:1386K         Date:12/09/91         Version: 
  3167.  Description:
  3168.  This file contains the Tech note indexes for the HyperCard 4.0.4 version 
  3169. Technical Notes Stack.
  3170.  
  3171.  Name  =  Tech Note PICTs.sea
  3172.  Path =  AMUG CD:Files:MacTechNotes:Technical Notes Stack:Tech Note PICTs.sea
  3173.  Size:308K         Date: 2/15/91         Version: 
  3174.  Description:
  3175.  Tech Note PICTs.dd contains various picts for the Tech notes provided in 
  3176. this section.
  3177.  
  3178.  Name  =  Technical Notes Stack 4.0.4
  3179.  Path =  AMUG CD:Files:MacTechNotes:Technical Notes Stack:Technical Notes Stack 4.0.4
  3180.  Size:1181K         Date: 2/15/91         Version: 3.2.1
  3181.  Description:
  3182.  Technical Notes Stack 4.0.4 is a complete listing of all Tech Notes in 
  3183. hypercard format.
  3184.  
  3185.